public class StateManagerImpl extends StateManager
A StateManager
implementation to meet the requirements of the specification.
StateManager.SerializedView
FULL_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, writeState
public Object saveView(FacesContext context)
saveView
in class StateManager
context
- the Faces context.public void writeState(FacesContext context, Object state) throws IOException
writeState
in class StateManager
context
- 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 StateManager
context
- the Faces context.viewId
- the view id.renderKitId
- the render kit id.StateManager.restoreView(javax.faces.context.FacesContext, java.lang.String,
java.lang.String)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.