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 classHtmlDoctype.PropertyKeys -
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_TYPEThe 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 StringgetPublic()Return the value of thepublicproperty.StringgetRootElement()Return the value of therootElementproperty.StringgetSystem()Return the value of thesystemproperty.voidsetPublic(String _public)Set the value of thepublicproperty.voidsetRootElement(String rootElement)Set the value of therootElementproperty.voidsetSystem(String system)Set the value of thesystemproperty.Methods inherited from class jakarta.faces.component.UIOutput
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValueMethods 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, unsubscribeFromEventMethods 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
publicproperty.- Returns:
- the property value
Contents:
Will be output as the public part of the DOCTYPE
-
setPublic
Set the value of the
publicproperty.- Parameters:
_public- the new property value
-
getRootElement
Return the value of the
rootElementproperty.- Returns:
- the property value
Contents:
The root XML element
-
setRootElement
Set the value of the
rootElementproperty.- Parameters:
rootElement- the new property value
-
getSystem
Return the value of the
systemproperty.- Returns:
- the property value
Contents:
Will be output as the system part of the DOCTYPE
-
setSystem
Set the value of the
systemproperty.- Parameters:
system- the new property value
-