|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.StateManager
org.apache.myfaces.test.mock.MockStateManager
public class MockStateManager
Mock implementation of StateManager.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.faces.application.StateManager |
|---|
javax.faces.application.StateManager.SerializedView |
| Field Summary |
|---|
| Fields inherited from class javax.faces.application.StateManager |
|---|
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 Summary | |
|---|---|
MockStateManager()
Construct a default instance. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class javax.faces.application.StateManager |
|---|
getViewState, isSavingStateInClient, saveView, writeState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockStateManager()
Construct a default instance.
| Method Detail |
|---|
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.StateManager
public void writeState(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView view)
throws IOException
writeState in class javax.faces.application.StateManagerIOException
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||