Package help.validator
Class ReferenceTagProcessor
- java.lang.Object
-
- help.validator.TagProcessor
-
- help.validator.ReferenceTagProcessor
-
public class ReferenceTagProcessor extends TagProcessor
-
-
Constructor Summary
Constructors Constructor Description ReferenceTagProcessor(HelpModuleLocation help, AnchorManager anchorManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endOfFile()
int
getErrorCount()
java.lang.String
getErrorText()
boolean
isTagSupported(java.lang.String tagType)
void
processTag(java.lang.String tagType, java.util.LinkedHashMap<java.lang.String,java.lang.String> tagAttributes, java.nio.file.Path file, int lineNum)
java.lang.String
processText(java.lang.String text)
void
startOfFile(java.nio.file.Path localFile)
-
-
-
Constructor Detail
-
ReferenceTagProcessor
public ReferenceTagProcessor(HelpModuleLocation help, AnchorManager anchorManager)
-
-
Method Detail
-
isTagSupported
public boolean isTagSupported(java.lang.String tagType)
- Overrides:
isTagSupported
in classTagProcessor
-
processTag
public void processTag(java.lang.String tagType, java.util.LinkedHashMap<java.lang.String,java.lang.String> tagAttributes, java.nio.file.Path file, int lineNum) throws java.io.IOException
- Throws:
java.io.IOException
-
processText
public java.lang.String processText(java.lang.String text)
- Overrides:
processText
in classTagProcessor
-
startOfFile
public void startOfFile(java.nio.file.Path localFile)
- Overrides:
startOfFile
in classTagProcessor
-
endOfFile
public void endOfFile()
- Overrides:
endOfFile
in classTagProcessor
-
getErrorText
public java.lang.String getErrorText()
-
getErrorCount
public int getErrorCount()
- Overrides:
getErrorCount
in classTagProcessor
-
-