Class TableTag

    • Constructor Detail

      • TableTag

        public TableTag()
        Create a new table tag.
    • Method Detail

      • getIds

        public java.lang.String[] getIds()
        Return the set of names handled by this tag.
        Specified by:
        getIds in interface Tag
        Overrides:
        getIds in class TagNode
        Returns:
        The names to be matched that create tags of this type.
      • getEndTagEnders

        public java.lang.String[] getEndTagEnders()
        Return the set of end tag names that cause this tag to finish.
        Specified by:
        getEndTagEnders in interface Tag
        Overrides:
        getEndTagEnders in class TagNode
        Returns:
        The names of following end tags that stop further scanning.
      • getRows

        public TableRow[] getRows()
        Get the row tags within this table.
        Returns:
        The rows directly contained by this table.
      • getRowCount

        public int getRowCount()
        Get the number of rows in this table.
        Returns:
        The number of rows in this table. Note: this is a a simple count of the number of {@.html } tags and may be incorrect if the {@.html } tags span multiple rows.
      • getRow

        public TableRow getRow​(int index)
        Get the row at the given index.
        Parameters:
        index - The row number (zero based) to get.
        Returns:
        The row for the given index.
      • toString

        public java.lang.String toString()
        Return a string suitable for debugging display.
        Specified by:
        toString in interface Node
        Overrides:
        toString in class CompositeTag
        Returns:
        The table as HTML, sorry.