Package com.sun.faces.facelets.compiler
Class FaceletDoctype
- java.lang.Object
-
- com.sun.faces.facelets.compiler.FaceletDoctype
-
-
Constructor Summary
Constructors Constructor Description FaceletDoctype(String rootElement, String _public, String system)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPublic()
Returns the public identifier of the document, ornull
if there is none.String
getRootElement()
Returns the name of the first element in the document, nevernull
.String
getSystem()
Returns the system identifier of the document, ornull
if there is none.
-
-
-
Method Detail
-
getRootElement
public String getRootElement()
Description copied from interface:Doctype
Returns the name of the first element in the document, nevernull
. For example,"html"
.- Specified by:
getRootElement
in interfaceDoctype
- Returns:
- The name of the first element in the document, never
null
.
-
getPublic
public String getPublic()
Description copied from interface:Doctype
Returns the public identifier of the document, ornull
if there is none. For example,"-//W3C//DTD XHTML 1.1//EN"
.
-
-