Save This Page
Home » mojarra-1.2_09-b02-FCS-source » javax.faces.application » [javadoc | source]
javax.faces.application
abstract public class: StateManagerWrapper [javadoc | source]
java.lang.Object
   javax.faces.application.StateManager
      javax.faces.application.StateManagerWrapper

Provides a simple implementation of StateManager that can be subclassed by developers wishing to provide specialized behavior to an existing StateManager instance. The default implementation of all methods is to call through to the wrapped StateManager .

Usage: extend this class and override #getWrapped to return the instance we are wrapping.

Fields inherited from javax.faces.application.StateManager:
STATE_SAVING_METHOD_PARAM_NAME,  STATE_SAVING_METHOD_CLIENT,  STATE_SAVING_METHOD_SERVER
Method from javax.faces.application.StateManagerWrapper Summary:
getComponentStateToSave,   getTreeStructureToSave,   getWrapped,   isSavingStateInClient,   restoreComponentState,   restoreTreeStructure,   restoreView,   saveSerializedView,   saveView,   writeState,   writeState
Methods from javax.faces.application.StateManager:
getComponentStateToSave,   getTreeStructureToSave,   isSavingStateInClient,   restoreComponentState,   restoreTreeStructure,   restoreView,   saveSerializedView,   saveView,   writeState,   writeState
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.application.StateManagerWrapper Detail:
 protected Object getComponentStateToSave(FacesContext context) 
 protected Object getTreeStructureToSave(FacesContext context) 
 abstract protected StateManager getWrapped()
 public boolean isSavingStateInClient(FacesContext context) 
 protected  void restoreComponentState(FacesContext context,
    UIViewRoot viewRoot,
    String renderKitId) 
 protected UIViewRoot restoreTreeStructure(FacesContext context,
    String viewId,
    String renderKitId) 
 public UIViewRoot restoreView(FacesContext context,
    String viewId,
    String renderKitId) 
 public SerializedView saveSerializedView(FacesContext context) 
 public Object saveView(FacesContext context) 
 public  void writeState(FacesContext context,
    Object state) throws IOException 
 public  void writeState(FacesContext context,
    SerializedView state) throws IOException