public class StateManagerImpl extends StateManager
A StateManager implementation to meet the requirements of the specification.
StateManager.SerializedViewFULL_STATE_SAVING_VIEW_IDS_PARAM_NAME, IS_BUILDING_INITIAL_STATE, IS_SAVING_STATE, PARTIAL_STATE_SAVING_PARAM_NAME, SERIALIZE_SERVER_STATE_PARAM_NAME, STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER| Constructor and Description |
|---|
StateManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
restoreView(FacesContext context,
String viewId,
String renderKitId)
Restores the view.
|
Object |
saveView(FacesContext context)
Save the view.
|
void |
writeState(FacesContext context,
Object state)
Write out the state.
|
getComponentStateToSave, getTreeStructureToSave, getViewState, isSavingStateInClient, restoreComponentState, restoreTreeStructure, saveSerializedView, writeStatepublic Object saveView(FacesContext context)
saveView in class StateManagercontext - the Faces context.public void writeState(FacesContext context, Object state) throws IOException
writeState in class StateManagercontext - the Faces context.state - the state.IOException - when an I/O error occurs.public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)
restoreView in class StateManagercontext - the Faces context.viewId - the view id.renderKitId - the render kit id.StateManager.restoreView(javax.faces.context.FacesContext, java.lang.String,
java.lang.String)Copyright © 1997–2019 Eclipse Foundation. All rights reserved.