Package help.validator.model
Class HREF
- java.lang.Object
-
- help.validator.model.HREF
-
-
Constructor Summary
Constructors Constructor Description HREF(HelpModuleLocation help, java.nio.file.Path sourceFile, java.lang.String href, int lineNum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HREF other)
java.lang.String
getAnchorName()
java.lang.String
getHelpPath()
int
getLineNumber()
java.nio.file.Path
getReferenceFileHelpPath()
The relative help path to the destination of this HREFjava.lang.String
getRefString()
java.nio.file.Path
getSourceFile()
boolean
isLocalAnchor()
boolean
isRemote()
boolean
isURL()
java.lang.String
toString()
-
-
-
Constructor Detail
-
HREF
public HREF(HelpModuleLocation help, java.nio.file.Path sourceFile, java.lang.String href, int lineNum) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
-
Method Detail
-
isURL
public boolean isURL()
-
isLocalAnchor
public boolean isLocalAnchor()
-
getSourceFile
public java.nio.file.Path getSourceFile()
-
isRemote
public boolean isRemote()
-
getAnchorName
public java.lang.String getAnchorName()
-
getRefString
public java.lang.String getRefString()
-
getReferenceFileHelpPath
public java.nio.file.Path getReferenceFileHelpPath()
The relative help path to the destination of this HREF
-
getHelpPath
public java.lang.String getHelpPath()
-
compareTo
public int compareTo(HREF other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<HREF>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLineNumber
public int getLineNumber()
-
-