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 SummaryAll 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- 
getRootElementString 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.
 
 - 
getPublicString 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.
 
 - 
getSystemString 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.
 
 
- 
 
-