public interface Doctype
Doctype is an interface that must be implemented by any UIComponent
that represents a document type declaration.
Modifier and Type | Method and 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. |
java.lang.String getRootElement()
null
.
For example, "html"
.null
.java.lang.String getPublic()
null
if there is none.
For example, "-//W3C//DTD XHTML 1.1//EN"
.null
if there is none.java.lang.String getSystem()
null
if there is none.
For example, "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
.null
if there is none.