public class UIViewRoot extends UIComponentBase
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
UNIQUE_ID_PREFIX |
| Constructor and Description |
|---|
UIViewRoot() |
| Modifier and Type | Method and Description |
|---|---|
String |
createUniqueId() |
void |
encodeBegin(FacesContext context) |
String |
getFamily() |
Locale |
getLocale() |
String |
getRenderKitId() |
String |
getViewId() |
void |
processApplication(FacesContext context) |
void |
processDecodes(FacesContext context) |
void |
processUpdates(FacesContext context)
This isn't an input component, so just pass on the processUpdates
call to child components and facets that might be input components.
|
void |
processValidators(FacesContext context) |
void |
queueEvent(FacesEvent event) |
void |
restoreState(FacesContext context,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext context)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setLocale(Locale locale) |
void |
setRenderKitId(String renderKitId) |
void |
setViewId(String viewId) |
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic static final String UNIQUE_ID_PREFIX
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getViewId()
public void setViewId(String viewId)
public void queueEvent(FacesEvent event)
queueEvent in class UIComponentBasepublic void processDecodes(FacesContext context)
processDecodes in class UIComponentBasepublic void processValidators(FacesContext context)
processValidators in class UIComponentBasepublic void processUpdates(FacesContext context)
UIComponentBaseComponents that were never rendered can't possibly be receiving update data (no corresponding fields were ever put into the response) so if this component is not rendered then this method does not invoke processUpdates on its children.
processUpdates in class UIComponentBasepublic void processApplication(FacesContext context)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin in class UIComponentBaseIOExceptionpublic String createUniqueId()
public Locale getLocale()
public void setLocale(Locale locale)
public String getFamily()
getFamily in class UIComponentpublic void setRenderKitId(String renderKitId)
public String getRenderKitId()
public Object saveState(FacesContext context)
UIComponentBasesaveState in interface StateHoldersaveState in class UIComponentBasepublic void restoreState(FacesContext context, Object state)
UIComponentBaserestoreState in interface StateHolderrestoreState in class UIComponentBasestate - is an object previously returned by
the saveState method of this class.Copyright © 2012 Apache Software Foundation. All Rights Reserved.