|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIViewRoot
public class UIViewRoot
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
UNIQUE_ID_PREFIX
|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UIViewRoot()
Construct an instance of the UIViewRoot. |
Method Summary | |
---|---|
void |
addPhaseListener(PhaseListener phaseListener)
Adds a The phaseListeners attached to ViewRoot. |
java.lang.String |
createUniqueId()
|
void |
encodeBegin(FacesContext context)
|
void |
encodeEnd(FacesContext context)
|
javax.el.MethodExpression |
getAfterPhaseListener()
Gets |
javax.el.MethodExpression |
getBeforePhaseListener()
Gets |
java.lang.String |
getFamily()
|
java.util.Locale |
getLocale()
Gets The locale for this ViewRoot. |
java.lang.String |
getRenderKitId()
Gets The initial value of this component. |
java.lang.String |
getViewId()
Gets The viewId. |
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 |
removePhaseListener(PhaseListener phaseListener)
Removes a The phaseListeners attached to ViewRoot. |
void |
restoreState(FacesContext facesContext,
java.lang.Object state)
Invoked in the "restore view" phase, this initialises this object's members from the values saved previously into the provided state object. |
java.lang.Object |
saveState(FacesContext facesContext)
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 |
setAfterPhaseListener(javax.el.MethodExpression afterPhaseListener)
Sets |
void |
setBeforePhaseListener(javax.el.MethodExpression beforePhaseListener)
Sets |
void |
setLocale(java.util.Locale locale)
Sets The locale for this ViewRoot. |
void |
setRenderKitId(java.lang.String renderKitId)
Sets The initial value of this component. |
void |
setViewId(java.lang.String viewId)
Sets The viewId. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String UNIQUE_ID_PREFIX
Constructor Detail |
---|
public UIViewRoot()
Method Detail |
---|
public void queueEvent(FacesEvent event)
queueEvent
in class UIComponentBase
public void processDecodes(FacesContext context)
processDecodes
in class UIComponentBase
public void processValidators(FacesContext context)
processValidators
in class UIComponentBase
public void processUpdates(FacesContext context)
UIComponentBase
Components 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 UIComponentBase
public void processApplication(FacesContext context)
public void encodeBegin(FacesContext context) throws java.io.IOException
encodeBegin
in class UIComponentBase
java.io.IOException
public void encodeEnd(FacesContext context) throws java.io.IOException
encodeEnd
in class UIComponentBase
java.io.IOException
public java.lang.String createUniqueId()
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale
- the new locale valuepublic java.lang.String getRenderKitId()
public void setRenderKitId(java.lang.String renderKitId)
renderKitId
- the new renderKitId valuepublic java.lang.String getViewId()
public void setViewId(java.lang.String viewId)
viewId
- the new viewId valuepublic void addPhaseListener(PhaseListener phaseListener)
public void removePhaseListener(PhaseListener phaseListener)
public javax.el.MethodExpression getBeforePhaseListener()
public void setBeforePhaseListener(javax.el.MethodExpression beforePhaseListener)
beforePhaseListener
- the new beforePhaseListener valuepublic javax.el.MethodExpression getAfterPhaseListener()
public void setAfterPhaseListener(javax.el.MethodExpression afterPhaseListener)
afterPhaseListener
- the new afterPhaseListener valuepublic java.lang.Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void restoreState(FacesContext facesContext, java.lang.Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
state
- is an object previously returned by
the saveState method of this class.public java.lang.String getFamily()
getFamily
in class UIComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |