Top Description Fields Constructors Methods
com.sun.faces.application

public Class StateManagerImpl

extends StateManager
Class Inheritance
Imports
com.sun.faces.application.view.JspStateManagementStrategy, java.io.IOException, java.util.Map, javax.faces.application.StateManager, javax.faces.component.UIViewRoot, javax.faces.context.FacesContext, javax.faces.render.RenderKit, .ResponseStateManager, javax.faces.view.StateManagementStrategy, .ViewDeclarationLanguage

A StateManager implementation to meet the requirements of the specification.

Field Summary

Inherited from javax.faces.application.StateManager:
FULL_STATE_SAVING_VIEW_IDS_PARAM_NAMEIS_BUILDING_INITIAL_STATEIS_SAVING_STATEPARTIAL_STATE_SAVING_PARAM_NAMESERIALIZE_SERVER_STATE_PARAM_NAMESTATE_SAVING_METHOD_CLIENTSTATE_SAVING_METHOD_PARAM_NAMESTATE_SAVING_METHOD_SERVER

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public UIViewRoot

Returns:

the view root.
restoreView
(FacesContext
the Faces context.
context
,
String
the view id.
viewId
,
String
the render kit id.
renderKitId
)

Implements abstract javax.faces.application.StateManager.restoreView.

Restores the view.
public Object

Returns:

the saved view.
saveView
(FacesContext
the Faces context.
context
)

Overrides javax.faces.application.StateManager.saveView.

Save the view.
public void
writeState(FacesContext
the Faces context.
context
,
Object
the state.
state
)

Overrides javax.faces.application.StateManager.writeState.

Write out the state.
Inherited from javax.faces.application.StateManager:
getComponentStateToSavegetTreeStructureToSavegetViewStateisSavingStateInClientrestoreComponentStaterestoreTreeStructuresaveSerializedViewwriteState

Constructor Detail

StateManagerImplback to summary
public StateManagerImpl()

Method Detail

restoreViewback to summary
public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)

Implements abstract javax.faces.application.StateManager.restoreView.

Restores the view.

Parameters
context:FacesContext

the Faces context.

viewId:String

the view id.

renderKitId:String

the render kit id.

Returns:UIViewRoot

the view root.

Annotations
@Override
See Also
StateManager#restoreView(javax.faces.context.FacesContext, java.lang.String, java.lang.String)
saveViewback to summary
public Object saveView(FacesContext context)

Overrides javax.faces.application.StateManager.saveView.

Save the view.

Parameters
context:FacesContext

the Faces context.

Returns:Object

the saved view.

Annotations
@Override
writeStateback to summary
public void writeState(FacesContext context, Object state) throws IOException

Overrides javax.faces.application.StateManager.writeState.

Write out the state.

Parameters
context:FacesContext

the Faces context.

state:Object

the state.

Annotations
@Override
Exceptions
IOException:
when an I/O error occurs.