Class TableRow

All Implemented Interfaces:
Serializable, Cloneable, Node, Tag

public class TableRow extends CompositeTag
A table row tag.
See Also:
  • Constructor Details

    • TableRow

      public TableRow()
      Create a new table row tag.
  • Method Details

    • getIds

      public 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.
    • getEnders

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

      public 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.
    • getColumns

      public TableColumn[] getColumns()
      Get the column tags within this TR (table row) tag.
      Returns:
      The {@.html } tags contained by this tag.
    • getColumnCount

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

      public TableHeader[] getHeaders()
      Get the header of this table
      Returns:
      Table header tags contained in this row.
    • getHeaderCount

      public int getHeaderCount()
      Get the number of headers in this row.
      Returns:
      The count of header tags in this row.
    • hasHeader

      public boolean hasHeader()
      Checks if this table has a header
      Returns:
      true if there is a header tag.