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 String
SERIALIZED_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 Object
getComponentStateToSave(FacesContext facesContext)
protected RenderKitFactory
getRenderKitFactory()
protected Object
getTreeStructureToSave(FacesContext facesContext)
Return an object which contains info about the UIComponent type of each node in the view tree.UIViewRoot
restoreView(FacesContext context, String viewId, String renderKitId)
Object
saveView(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:
restoreView
in classStateManagementStrategy
-
saveView
public Object saveView(FacesContext facesContext)
- Specified by:
saveView
in 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.
-
-