Interface Section

All Superinterfaces:
ContentNode, StructuralNode
All Known Implementing Classes:
SectionImpl

public interface Section extends StructuralNode
  • Method Details

    • index

      @Deprecated int index()
      Deprecated.
      Please use getIndex()
      Returns:
      the 0-based index order of this section within the parent block
    • getIndex

      int getIndex()
      Returns:
      the 0-based index order of this section within the parent block
    • number

      @Deprecated int number()
      Deprecated.
      Please use getNumber()
      Returns:
      the number of this section within the parent block
    • getNumber

      @Deprecated int getNumber()
      Deprecated.
      Please use getNumeral()
      Returns:
      the number of this section within the parent block
    • getNumeral

      String getNumeral()
      Section numeral. This is a roman numeral for book parts, arabic numeral for regular sections, and a letter for special sections.
      Returns:
      the section numeral
    • sectname

      @Deprecated String sectname()
      Deprecated.
      Please use getSectionName()
      Returns:
      the section name of this section
    • getSectionName

      String getSectionName()
      Returns:
      the section name of this section
    • special

      @Deprecated boolean special()
      Deprecated.
      Please use isSpecial()
      Returns:
      Get the flag to indicate whether this is a special section or a child of one
    • isSpecial

      boolean isSpecial()
      Returns:
      Get the flag to indicate whether this is a special section or a child of one
    • numbered

      @Deprecated boolean numbered()
      Deprecated.
      Please use isNumbered()
      Returns:
      the state of the numbered attribute at this section (need to preserve for creating TOC)
    • isNumbered

      boolean isNumbered()
      Returns:
      the state of the numbered attribute at this section (need to preserve for creating TOC)