|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.application.StateManager org.apache.shale.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 |
---|
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 |
---|
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.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |