Package jakarta.faces.component
Interface Doctype
-
public interface DoctypeDoctype is an interface that must be implemented by any
UIComponentthat represents a document type declaration.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPublic()Returns the public identifier of the document, ornullif there is none.StringgetRootElement()Returns the name of the first element in the document, nevernull.StringgetSystem()Returns the system identifier of the document, ornullif there is none.
-
-
-
Method Detail
-
getRootElement
String getRootElement()
Returns the name of the first element in the document, nevernull. For example,"html".- Returns:
- The name of the first element in the document, never
null.
-
getPublic
String getPublic()
Returns the public identifier of the document, ornullif there is none. For example,"-//W3C//DTD XHTML 1.1//EN".- Returns:
- The public identifier of the document, or
nullif there is none.
-
getSystem
String getSystem()
Returns the system identifier of the document, ornullif there is none. For example,"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd".- Returns:
- The system identifier of the document, or
nullif there is none.
-
-