Package help.validator
Class AnchorManager
- java.lang.Object
-
- help.validator.AnchorManager
-
public class AnchorManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnchorManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnchor(java.nio.file.Path file, java.lang.String anchorName, int srcLineNo)
void
addAnchorRef(HREF href)
void
addImageRef(IMG ref)
AnchorDefinition
getAnchorForHelpPath(java.lang.String path)
AnchorDefinition
getAnchorForName(java.lang.String anchorName)
java.util.List<HREF>
getAnchorRefs()
java.util.Map<java.lang.String,AnchorDefinition>
getAnchorsByHelpPath()
java.util.Map<java.lang.String,java.util.List<AnchorDefinition>>
getDuplicateAnchorsByID()
java.util.List<IMG>
getImageRefs()
-
-
-
Method Detail
-
addAnchor
public void addAnchor(java.nio.file.Path file, java.lang.String anchorName, int srcLineNo)
-
getAnchorsByHelpPath
public java.util.Map<java.lang.String,AnchorDefinition> getAnchorsByHelpPath()
-
getAnchorForHelpPath
public AnchorDefinition getAnchorForHelpPath(java.lang.String path)
-
addAnchorRef
public void addAnchorRef(HREF href)
-
addImageRef
public void addImageRef(IMG ref)
-
getAnchorRefs
public java.util.List<HREF> getAnchorRefs()
-
getImageRefs
public java.util.List<IMG> getImageRefs()
-
getAnchorForName
public AnchorDefinition getAnchorForName(java.lang.String anchorName)
-
getDuplicateAnchorsByID
public java.util.Map<java.lang.String,java.util.List<AnchorDefinition>> getDuplicateAnchorsByID()
-
-