Package javax.faces.component.html
Class HtmlDoctype
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.html.HtmlDoctype
- All Implemented Interfaces:
EventListener
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ValueHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
NONE
By default, the rendererType
property must be set to "javax.faces.Doctype
".
This value can be changed by calling the setRendererType()
method.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The standard component type for this component.Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY
Fields inherited from class javax.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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the value of thepublic
property.Return the value of therootElement
property.Return the value of thesystem
property.void
Set the value of thepublic
property.void
setRootElement
(String rootElement) Set the value of therootElement
property.void
Set the value of thesystem
property.Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
Methods inherited from class javax.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 javax.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:
-
-
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
-