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 SummaryNested Classes Modifier and Type Class Description protected static classHtmlDoctype.PropertyKeys
 - 
Field SummaryFields Modifier and Type Field Description static StringCOMPONENT_FAMILYstatic StringCOMPONENT_TYPE- 
Fields inherited from class jakarta.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description HtmlDoctype()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFamily()StringgetPublic()Returns the public identifier of the document, ornullif there is none.StringgetRootElement()Returns the name of the first element in the document, nevernull.StringgetSystem()Returns the system identifier of the document, ornullif there is none.voidsetPublic(String publicParam)voidsetRootElement(String rootElement)voidsetSystem(String system)- 
Methods inherited from class jakarta.faces.component.UIOutputclearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
 - 
Methods inherited from class jakarta.faces.component.UIComponentBaseaddClientBehavior, 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.UIComponentgetClientId, 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_FAMILYpublic static final String COMPONENT_FAMILY - See Also:
- Constant Field Values
 
 - 
COMPONENT_TYPEpublic static final String COMPONENT_TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getPublicpublic String getPublic() Description copied from interface:DoctypeReturns the public identifier of the document, ornullif there is none. For example,"-//W3C//DTD XHTML 1.1//EN".
 - 
setPublicpublic void setPublic(String publicParam) 
 - 
getRootElementpublic String getRootElement() Description copied from interface:DoctypeReturns the name of the first element in the document, nevernull. For example,"html".- Specified by:
- getRootElementin interface- Doctype
- Returns:
- The name of the first element in the document, never null.
 
 - 
setRootElementpublic void setRootElement(String rootElement) 
 - 
getSystempublic String getSystem() Description copied from interface:DoctypeReturns the system identifier of the document, ornullif there is none. For example,"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd".
 - 
setSystempublic void setSystem(String system) 
 
- 
 
-