| org.apache.myfaces.application.MyfacesStateManager org.apache.myfaces.application.jsp.JspStateManagerImpl
JspStateManagerImpl | public class JspStateManagerImpl extends MyfacesStateManager (Code) | | Default StateManager implementation for use when views are defined
via tags in JSP pages.
author: Thomas Spiegl (latest modification by $Author: baranda $) author: Manfred Geiler version: $Revision: 545266 $ $Date: 2007-06-07 20:48:06 +0200 (Do, 07 Jun 2007) $ |
Inner Class :protected static class SerializedViewCollection implements Serializable | |
Inner Class :protected static class SerializedViewKey implements Serializable | |
Method Summary | |
protected Object | deserializeView(Object state) | protected Object | getComponentStateToSave(FacesContext facesContext) | protected RenderKitFactory | getRenderKitFactory() | protected Object | getSerializedViewFromServletSession(FacesContext context, String viewId) | protected Object | getTreeStructureToSave(FacesContext facesContext) Return an object which contains info about the UIComponent type
of each node in the view tree. | protected boolean | isCompressStateInSession(FacesContext context) Reads the value of the org.apache.myfaces.COMPRESS_STATE_IN_SESSION context parameter.
See Also: COMPRESS_SERVER_STATE_PARAM Parameters: context - FacesContext for the request we are processing. | protected boolean | isSerializeStateInSession(FacesContext context) Reads the value of the org.apache.myfaces.SERIALIZE_STATE_IN_SESSION context parameter.
See Also: SERIALIZE_STATE_IN_SESSION_PARAM Parameters: context - FacesContext for the request we are processing. | protected void | nextViewSequence(FacesContext facescontext) | protected void | restoreComponentState(FacesContext facesContext, UIViewRoot uiViewRoot, String renderKitId) Given a tree of UIComponent objects created the default constructor
for each node, retrieve saved state info (from either the client or
the server) and walk the tree restoring the members of each node
from the saved state information. | protected UIViewRoot | restoreTreeStructure(FacesContext facesContext, String viewId, String renderKitId) See getTreeStructureToSave. | public UIViewRoot | restoreView(FacesContext facesContext, String viewId, String renderKitId) | public SerializedView | saveSerializedView(FacesContext facesContext) | protected void | saveSerializedViewInServletSession(FacesContext context, Object serializedView) | protected Object | serializeView(FacesContext context, Object serializedView) | public void | writeState(FacesContext facesContext, SerializedView serializedView) | public void | writeStateAsUrlParams(FacesContext facesContext, SerializedView serializedView) |
JspStateManagerImpl | public JspStateManagerImpl()(Code) | | |
getTreeStructureToSave | protected Object getTreeStructureToSave(FacesContext facesContext)(Code) | | Return an object which contains info about the UIComponent type
of each node in the view tree. This allows an identical UIComponent
tree to be recreated later, though all the components will have
just default values for their members.
|
isCompressStateInSession | protected boolean isCompressStateInSession(FacesContext context)(Code) | | Reads the value of the org.apache.myfaces.COMPRESS_STATE_IN_SESSION context parameter.
See Also: COMPRESS_SERVER_STATE_PARAM Parameters: context - FacesContext for the request we are processing. boolean true, if the server state steam should be compressed |
isSerializeStateInSession | protected boolean isSerializeStateInSession(FacesContext context)(Code) | | Reads the value of the org.apache.myfaces.SERIALIZE_STATE_IN_SESSION context parameter.
See Also: SERIALIZE_STATE_IN_SESSION_PARAM Parameters: context - FacesContext for the request we are processing. boolean true, if the server state should be serialized in the session |
restoreComponentState | protected void restoreComponentState(FacesContext facesContext, UIViewRoot uiViewRoot, String renderKitId)(Code) | | Given a tree of UIComponent objects created the default constructor
for each node, retrieve saved state info (from either the client or
the server) and walk the tree restoring the members of each node
from the saved state information.
|
saveSerializedViewInServletSession | protected void saveSerializedViewInServletSession(FacesContext context, Object serializedView)(Code) | | |
writeStateAsUrlParams | public void writeStateAsUrlParams(FacesContext facesContext, SerializedView serializedView) throws IOException(Code) | | MyFaces extension
Parameters: facesContext - Parameters: serializedView - throws: IOException - |
Methods inherited from org.apache.myfaces.application.MyfacesStateManager | abstract public void writeStateAsUrlParams(FacesContext facesContext, SerializedView serializedView) throws IOException(Code)(Java Doc)
|
|
|