com.sun.faces.application
public class StateManagerImpl extends javax.faces.application.StateManager
A
StateManager
implementation to meet the requirements of the
specification.
Constructor and Description |
---|
StateManagerImpl() |
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restores the view.
|
java.lang.Object |
saveView(javax.faces.context.FacesContext context)
Save the view.
|
void |
writeState(javax.faces.context.FacesContext context,
java.lang.Object state)
Write out the state.
|
public java.lang.Object saveView(javax.faces.context.FacesContext context)
saveView
in class javax.faces.application.StateManager
context
- the Faces context.public void writeState(javax.faces.context.FacesContext context, java.lang.Object state) throws java.io.IOException
writeState
in class javax.faces.application.StateManager
context
- the Faces context.state
- the state.java.io.IOException
- when an I/O error occurs.public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, java.lang.String viewId, java.lang.String renderKitId)
restoreView
in class javax.faces.application.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)
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.