Package help.validator.model
Class TOCItemExternal
- java.lang.Object
-
- help.validator.model.TOCItem
-
- help.validator.model.TOCItemExternal
-
public class TOCItemExternal extends TOCItem
-
-
Field Summary
-
Fields inherited from class help.validator.model.TOCItem
INDENTS, parentItem, targetAttribute, textAttribute, TOC_ITEM_CLOSE_TAG
-
-
Constructor Summary
Constructors Constructor Description TOCItemExternal(TOCItem parentItem, java.nio.file.Path tocFile, java.lang.String ID, java.lang.String text, java.lang.String target, java.lang.String sortPreference, int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateTOCItemTag(LinkDatabase linkDatabase, boolean isInlineTag, int indentLevel)
java.lang.String
toString()
boolean
validate(LinkDatabase linkDatabase)
-
Methods inherited from class help.validator.model.TOCItem
addChild, childCount, equals, generateEndTag, getChildren, getIDAttribute, getLineNumber, getParent, getSortPreference, getSourceFile, getTargetAttribute, getTextAttribute, hashCode, isEquivalent, printChildren, printChildren, removeChild, writeContents, writeContents
-
-
-
-
Constructor Detail
-
TOCItemExternal
public TOCItemExternal(TOCItem parentItem, java.nio.file.Path tocFile, java.lang.String ID, java.lang.String text, java.lang.String target, java.lang.String sortPreference, int lineNumber)
-
-
Method Detail
-
validate
public boolean validate(LinkDatabase linkDatabase)
-
generateTOCItemTag
public java.lang.String generateTOCItemTag(LinkDatabase linkDatabase, boolean isInlineTag, int indentLevel)
- Overrides:
generateTOCItemTag
in classTOCItem
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-