Class HrefInfo


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class HrefInfo
    extends java.lang.Object
    Contains the referenced URL + information whether this is a map or a topic
    Since:
    18.1
    • Constructor Summary

      Constructors 
      Constructor Description
      HrefInfo​(java.net.URL referenceURL, java.lang.String hrefValue, boolean isDITAMap, boolean isDITAReference)
      Constructor.
    • Constructor Detail

      • HrefInfo

        public HrefInfo​(java.net.URL referenceURL,
                        java.lang.String hrefValue,
                        boolean isDITAMap,
                        boolean isDITAReference)
        Constructor.
        Parameters:
        referenceURL - The refered URL.
        hrefValue - The href value
        isDITAMap - True if DITA Map
        isDITAReference - true if this is a reference to a DITA resource.
    • Method Detail

      • getReferenceURL

        public java.net.URL getReferenceURL()
        Returns:
        The reference URL. May be null if the href points to an URL with a protocol unsupported by Oxygen. See EXM-49443
      • getHrefValue

        public java.lang.String getHrefValue()
        Returns:
        The href value
      • isDITAMap

        public boolean isDITAMap()
        Returns:
        true if this is a DITA Map
      • isDITAReference

        public boolean isDITAReference()
        Returns:
        true if this is a reference to a DITA resource.