Class DoctypeTag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node, Tag

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

      • DoctypeTag

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

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