Class DoctypeTag

All Implemented Interfaces:
Serializable, Cloneable, Node, Tag

public class DoctypeTag extends TagNode
The HTML Document Declaration Tag can identify <!DOCTYPE> tags.
See Also:
  • Constructor Details

    • DoctypeTag

      public DoctypeTag()
      Create a new !doctype 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.
    • toString

      public String toString()
      Return a string representation of the contents of this !DOCTYPE tag suitable for debugging.
      Specified by:
      toString in interface Node
      Overrides:
      toString in class TagNode
      Returns:
      The contents of the document declaration tag as a string.