Interface Doctype

  • All Known Implementing Classes:
    HtmlDoctype

    public interface Doctype

    Doctype is an interface that must be implemented by any UIComponent that represents a document type declaration.

    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getPublic()
      Returns the public identifier of the document, or null if there is none.
      java.lang.String getRootElement()
      Returns the name of the first element in the document, never null.
      java.lang.String getSystem()
      Returns the system identifier of the document, or null if there is none.
    • Method Detail

      • getRootElement

        java.lang.String getRootElement()
        Returns the name of the first element in the document, never null. For example, "html".
        Returns:
        The name of the first element in the document, never null.
      • getPublic

        java.lang.String getPublic()
        Returns the public identifier of the document, or null if there is none. For example, "-//W3C//DTD XHTML 1.1//EN".
        Returns:
        The public identifier of the document, or null if there is none.
      • getSystem

        java.lang.String getSystem()
        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".
        Returns:
        The system identifier of the document, or null if there is none.