Package org.apache.myfaces.view.facelets
Class FullStateManagementStrategy
- java.lang.Object
-
- jakarta.faces.view.StateManagementStrategy
-
- org.apache.myfaces.view.facelets.FullStateManagementStrategy
-
public class FullStateManagementStrategy extends StateManagementStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_VIEW_REQUEST_ATTR
-
Constructor Summary
Constructors Constructor Description FullStateManagementStrategy(FacesContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectgetComponentStateToSave(FacesContext facesContext)protected RenderKitFactorygetRenderKitFactory()protected ObjectgetTreeStructureToSave(FacesContext facesContext)Return an object which contains info about the UIComponent type of each node in the view tree.UIViewRootrestoreView(FacesContext context, String viewId, String renderKitId)ObjectsaveView(FacesContext facesContext)
-
-
-
Field Detail
-
SERIALIZED_VIEW_REQUEST_ATTR
public static final String SERIALIZED_VIEW_REQUEST_ATTR
-
-
Constructor Detail
-
FullStateManagementStrategy
public FullStateManagementStrategy(FacesContext context)
-
-
Method Detail
-
restoreView
public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)
- Specified by:
restoreViewin classStateManagementStrategy
-
saveView
public Object saveView(FacesContext facesContext)
- Specified by:
saveViewin classStateManagementStrategy
-
getRenderKitFactory
protected RenderKitFactory getRenderKitFactory()
-
getComponentStateToSave
protected Object getComponentStateToSave(FacesContext facesContext)
-
getTreeStructureToSave
protected Object getTreeStructureToSave(FacesContext facesContext)
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.
-
-