jakarta.faces.component.Doctype Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakarta.faces Show documentation
Show all versions of jakarta.faces Show documentation
EE4J Compatible Implementation for Jakarta Faces API
package jakarta.faces.component;
/**
*
* Doctype is an interface that must be implemented by any {@link UIComponent} that represents a document type declaration.
*
*
* @since 4.0
*/
public interface Doctype {
/**
* Returns the name of the first element in the document, never null
.
* For example, "html"
.
* @return The name of the first element in the document, never null
.
*/
String getRootElement();
/**
* Returns the public identifier of the document, or null
if there is none.
* For example, "-//W3C//DTD XHTML 1.1//EN"
.
* @return The public identifier of the document, or null
if there is none.
*/
String getPublic();
/**
* 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"
.
* @return The system identifier of the document, or null
if there is none.
*/
String getSystem();
}