Package com.pd4ml.dom

Class DocumentType


  • public class DocumentType
    extends Node
    The <!DOCTYPE> of a document. It selects quirks or standards mode when the document is parsed.
    Since:
    v4.2.0
    • Method Detail

      • getName

        public java.lang.String getName()
        The name, usually html.
      • getPublicId

        public java.lang.String getPublicId()
      • getSystemId

        public java.lang.String getSystemId()
      • setTextContent

        public void setTextContent​(java.lang.String text)
        A doctype has no text content.
        Overrides:
        setTextContent in class Node