| Modifier and Type | Class and Description |
|---|---|
| private static class | JspStateManagementStrategy.FacetNode
Inner class used to store a facet in the saved component tree. |
| private static class | JspStateManagementStrategy.TreeNode
Inner class used to store a node in the saved component tree. |
| Modifier and Type | Field and Description |
|---|---|
| private Map | classMap
Stores the class map. |
| private boolean | isDevelopmentMode
Are we in development mode. |
| private static final Logger | LOGGER
Stores the logger. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | captureChild(List<JspStateManagementStrategy.
the tree. tree,the parent. parent, UIComponent the component. c)Capture the child. |
| private void | captureFacet(List<JspStateManagementStrategy.
the tree. tree,the parent. parent, String the facet name. name, UIComponent the component. c)Capture the facet. |
| private void | captureRest(List<JspStateManagementStrategy.
the tree. tree,the position. pos, UIComponent the component. c)Capture the rest. |
| private UIComponent | Returns: the UI component.the tree node. nCreate a new component instance. |
| private UIViewRoot | Returns: the view root.the render kit id. renderKitId, Object[] the saved tree. tree)Restore the component tree. |
| public UIViewRoot | Returns: the view root.the Faces context. context, String the view id. viewId, String the render kit id. renderKitId)Implements abstract javax. |
| public Object | Returns: the saved view.the Faces context. context)Implements abstract javax. |
| classMap | back to summary |
|---|---|
| private Map<String, Class<?>> classMap Stores the class map. | |
| isDevelopmentMode | back to summary |
|---|---|
| private boolean isDevelopmentMode Are we in development mode. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| JspStateManagementStrategy | back to summary |
|---|---|
| public JspStateManagementStrategy() Constructor. | |
| JspStateManagementStrategy | back to summary |
|---|---|
| public JspStateManagementStrategy(FacesContext context) Constructor.
| |
| captureChild | back to summary |
|---|---|
| private void captureChild(List<JspStateManagementStrategy. Capture the child.
| |
| captureFacet | back to summary |
|---|---|
| private void captureFacet(List<JspStateManagementStrategy. Capture the facet.
| |
| captureRest | back to summary |
|---|---|
| private void captureRest(List<JspStateManagementStrategy. Capture the rest.
| |
| newInstance | back to summary |
|---|---|
| private UIComponent newInstance(JspStateManagementStrategy. Create a new component instance.
| |
| restoreTree | back to summary |
|---|---|
| private UIViewRoot restoreTree(FacesContext context, String renderKitId, Object[] tree) throws FacesException Restore the component tree.
| |
| restoreView | back to summary |
|---|---|
| public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId) Implements abstract javax. Restore the view.
| |
| saveView | back to summary |
|---|---|
| public Object saveView(FacesContext context) Implements abstract javax. Save the view.
| |
| Modifier and Type | Field and Description |
|---|---|
| private String | facetName
Stores the facet name. |
| private static final long | serialVersionUID
Hides com. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FacetNode(int
the parent. parent, String the facet name. name, UIComponent the component. c)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | readExternal(ObjectInput
the object input. in)Overrides com. Implements java. |
| public void | writeExternal(ObjectOutput
the object output. out)Overrides com. Implements java. |
| facetName | back to summary |
|---|---|
| private String facetName Stores the facet name. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. Stores the serial version UID. | |
| FacetNode | back to summary |
|---|---|
| public FacetNode() Constructor. | |
| FacetNode | back to summary |
|---|---|
| public FacetNode(int parent, String name, UIComponent c) Constructor.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides com. Implements java. Read the facet node in.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides com. Implements java. Write the facet node out.
| |
| Modifier and Type | Field and Description |
|---|---|
| private String | componentType
Stores the component type. |
| private String | id
Stores the id. |
| private static final String | NULL_ID
Stores the NULL_ID constant. |
| private int | parent
Stores the parent. |
| private static final long | serialVersionUID
Stores the serial version UID. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | readExternal(ObjectInput
the object input. in)Implements java. |
| public void | writeExternal(ObjectOutput
the object output. out)Implements java. |
| componentType | back to summary |
|---|---|
| private String componentType Stores the component type. | |
| id | back to summary |
|---|---|
| private String id Stores the id. | |
| NULL_ID | back to summary |
|---|---|
| private static final String NULL_ID Stores the NULL_ID constant. | |
| parent | back to summary |
|---|---|
| private int parent Stores the parent. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Stores the serial version UID. | |
| TreeNode | back to summary |
|---|---|
| public TreeNode() Constructor. | |
| TreeNode | back to summary |
|---|---|
| public TreeNode(int parent, UIComponent c) Constructor.
| |
| getParent | back to summary |
|---|---|
| public int getParent() | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read the tree node in.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write the tree node out.
| |