Class TOCItemDefinition


  • public class TOCItemDefinition
    extends TOCItem
    A representation of the <tocdef> tag, which is a way to define a TOC item entry in a TOC_Source.xml file.
    • Constructor Detail

      • TOCItemDefinition

        public TOCItemDefinition​(TOCItem parentItem,
                                 java.nio.file.Path sourceTOCFile,
                                 java.lang.String ID,
                                 java.lang.String text,
                                 java.lang.String target,
                                 java.lang.String sortPreference,
                                 int lineNumber)
    • Method Detail

      • generateTOCItemTag

        public java.lang.String generateTOCItemTag​(LinkDatabase linkDatabase,
                                                   boolean isInlineTag,
                                                   int indentLevel)
        Overrides:
        generateTOCItemTag in class TOCItem
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object