Package ro.sync.ecss.dita
Class HrefInfo
- java.lang.Object
-
- ro.sync.ecss.dita.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHrefValue()
java.net.URL
getReferenceURL()
boolean
isDITAMap()
boolean
isDITAReference()
-
-
-
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 valueisDITAMap
- True if DITA MapisDITAReference
-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.
-
-