Package jakarta.faces.component.html
Class HtmlDoctype
- java.lang.Object
-
- jakarta.faces.component.UIComponent
-
- jakarta.faces.component.UIComponentBase
-
- jakarta.faces.component.UIOutput
-
- jakarta.faces.component.html.HtmlDoctype
-
- All Implemented Interfaces:
Doctype
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ValueHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
,EventListener
public class HtmlDoctype extends UIOutput implements Doctype
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
HtmlDoctype.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
-
Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlDoctype()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamily()
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.void
setPublic(String publicParam)
void
setRootElement(String rootElement)
void
setSystem(String system)
-
Methods inherited from class jakarta.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
-
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
-
Methods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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"
.
-
setPublic
public void setPublic(String publicParam)
-
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
.
-
setRootElement
public void setRootElement(String rootElement)
-
getSystem
public String getSystem()
Description copied from interface:Doctype
Returns the system identifier of the document, ornull
if there is none. For example,"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
.
-
setSystem
public void setSystem(String system)
-
-