public abstract class TreeFamily extends UIComponentBase
| Modifier and Type | Field and Description | 
|---|---|
| static String | COMPONENT_FAMILYThe standard component family. | 
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 and Description | 
|---|
| TreeFamily()The base constructor sets the renderer type to  nullas the components of the Tree family does not
 render anything by themselves. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | encodeChildren(FacesContext context)Calls  validateHierarchy()when project stage isDevelopmentand then
 callsprocess(FacesContext, PhaseId)withPhaseId.RENDER_RESPONSE. | 
| String | getFamily()Returns  COMPONENT_FAMILY. | 
| boolean | getRendersChildren()Returns  true. | 
| protected abstract void | process(FacesContext context,
       PhaseId phaseId)Process the component according to the rules of the given phase ID. | 
| void | processDecodes(FacesContext context) | 
| protected void | processSuper(FacesContext context,
            PhaseId phaseId)Helper method to delegate the processing further to the  UIComponentBasesuperclass which will handle
 all children. | 
| void | processUpdates(FacesContext context) | 
| void | processValidators(FacesContext context) | 
| protected abstract void | validateHierarchy()Validate the component hierarchy. | 
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_FAMILY
public TreeFamily()
null as the components of the Tree family does not
 render anything by themselves.public String getFamily()
COMPONENT_FAMILY.getFamily in class UIComponentpublic boolean getRendersChildren()
true.getRendersChildren in class UIComponentBasepublic void processDecodes(FacesContext context)
processDecodes in class UIComponentBasepublic void processValidators(FacesContext context)
processValidators in class UIComponentBasepublic void processUpdates(FacesContext context)
processUpdates in class UIComponentBasepublic void encodeChildren(FacesContext context) throws IOException
validateHierarchy() when project stage is Development and then
 calls process(FacesContext, PhaseId) with PhaseId.RENDER_RESPONSE.encodeChildren in class UIComponentBaseIOExceptionprotected abstract void validateHierarchy()
Development.IllegalStateException - When component hierarchy is wrong.protected abstract void process(FacesContext context, PhaseId phaseId)
context - The faces context to work with.phaseId - The current phase ID.protected void processSuper(FacesContext context, PhaseId phaseId)
UIComponentBase superclass which will handle
 all children.context - The faces context to work with.phaseId - The current phase ID.Copyright © 2012–2020 OmniFaces. All rights reserved.