Class HtmlDoctype

    • Constructor Detail

      • HtmlDoctype

        public HtmlDoctype()
    • Method Detail

      • getPublic

        public String getPublic()
        Description copied from interface: Doctype
        Returns the public identifier of the document, or null if there is none. For example, "-//W3C//DTD XHTML 1.1//EN".
        Specified by:
        getPublic in interface Doctype
        Returns:
        The public identifier of the document, or null if there is none.
      • setPublic

        public void setPublic​(String publicParam)
      • getRootElement

        public String getRootElement()
        Description copied from interface: Doctype
        Returns the name of the first element in the document, never null. For example, "html".
        Specified by:
        getRootElement in interface Doctype
        Returns:
        The name of the first element in the document, never null.
      • setRootElement

        public void setRootElement​(String rootElement)
      • getSystem

        public String getSystem()
        Description copied from interface: Doctype
        Returns the system identifier of the document, or null if there is none. For example, "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd".
        Specified by:
        getSystem in interface Doctype
        Returns:
        The system identifier of the document, or null if there is none.
      • setSystem

        public void setSystem​(String system)