Class TableRow

    • Constructor Detail

      • TableRow

        public TableRow()
        Create a new table row 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.
      • getEnders

        public java.lang.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 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.
      • 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.