public class MockStateManager
extends javax.faces.application.StateManager
Mock implementation of StateManager.
| Constructor and Description |
|---|
MockStateManager()
Construct a default instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getComponentStateToSave(javax.faces.context.FacesContext context) |
Object |
getTreeStructureToSave(javax.faces.context.FacesContext context) |
void |
restoreComponentState(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view,
String renderKitId) |
javax.faces.component.UIViewRoot |
restoreTreeStructure(javax.faces.context.FacesContext context,
String viewId,
String renderKitId) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
String viewId,
String renderKitId) |
javax.faces.application.StateManager.SerializedView |
saveSerializedView(javax.faces.context.FacesContext context) |
void |
writeState(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView view) |
public javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext context)
saveSerializedView in class javax.faces.application.StateManagerpublic Object getTreeStructureToSave(javax.faces.context.FacesContext context)
getTreeStructureToSave in class javax.faces.application.StateManagerpublic Object getComponentStateToSave(javax.faces.context.FacesContext context)
getComponentStateToSave in class javax.faces.application.StateManagerpublic void writeState(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView view)
throws IOException
writeState in class javax.faces.application.StateManagerIOExceptionpublic javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
String viewId,
String renderKitId)
restoreView in class javax.faces.application.StateManagerpublic javax.faces.component.UIViewRoot restoreTreeStructure(javax.faces.context.FacesContext context,
String viewId,
String renderKitId)
restoreTreeStructure in class javax.faces.application.StateManagerpublic void restoreComponentState(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view,
String renderKitId)
restoreComponentState in class javax.faces.application.StateManagerCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.