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:
PartialStateHolder
,StateHolder
,TransientStateHolder
,ValueHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
,EventListener
public class HtmlDoctype extends UIOutput
NONE
By default, the rendererType
property must be set to "jakarta.faces.Doctype
". This value
can be changed by calling the setRendererType()
method.
-
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_TYPE
The standard component type for this component.Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Constructor Summary
Constructors Constructor Description HtmlDoctype()
-
Method Summary
Modifier and Type Method Description String
getPublic()
Return the value of thepublic
property.String
getRootElement()
Return the value of therootElement
property.String
getSystem()
Return the value of thesystem
property.void
setPublic(String _public)
Set the value of thepublic
property.void
setRootElement(String rootElement)
Set the value of therootElement
property.void
setSystem(String system)
Set the value of thesystem
property.Methods inherited from class jakarta.faces.component.UIOutput
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class jakarta.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Field Details
-
COMPONENT_TYPE
The standard component type for this component.
- See Also:
- Constant Field Values
-
-
Constructor Details
-
HtmlDoctype
public HtmlDoctype()
-
-
Method Details
-
getPublic
Return the value of the
public
property.- Returns:
- the property value
Contents:
Will be output as the public part of the DOCTYPE
-
setPublic
Set the value of the
public
property.- Parameters:
_public
- the new property value
-
getRootElement
Return the value of the
rootElement
property.- Returns:
- the property value
Contents:
The root XML element
-
setRootElement
Set the value of the
rootElement
property.- Parameters:
rootElement
- the new property value
-
getSystem
Return the value of the
system
property.- Returns:
- the property value
Contents:
Will be output as the system part of the DOCTYPE
-
setSystem
Set the value of the
system
property.- Parameters:
system
- the new property value
-