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.StateManager
public Object getTreeStructureToSave(javax.faces.context.FacesContext context)
getTreeStructureToSave
in class javax.faces.application.StateManager
public Object getComponentStateToSave(javax.faces.context.FacesContext context)
getComponentStateToSave
in class javax.faces.application.StateManager
public void writeState(javax.faces.context.FacesContext context, javax.faces.application.StateManager.SerializedView view) throws IOException
writeState
in class javax.faces.application.StateManager
IOException
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, String viewId, String renderKitId)
restoreView
in class javax.faces.application.StateManager
public javax.faces.component.UIViewRoot restoreTreeStructure(javax.faces.context.FacesContext context, String viewId, String renderKitId)
restoreTreeStructure
in class javax.faces.application.StateManager
public void restoreComponentState(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot view, String renderKitId)
restoreComponentState
in class javax.faces.application.StateManager
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.