org.apache.myfaces.custom.savestate
Class UISaveState

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIParameter
              extended byorg.apache.myfaces.custom.savestate.UISaveState
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UISaveState
extends javax.faces.component.UIParameter

This component defines a model value (via the "value" attribute), of which the state has to be saved and restored by the StateRenderer.

Version:
$Revision: 231036 $ $Date: 2005-08-09 09:55:20 -0400 (Tue, 09 Aug 2005) $
Author:
Manfred Geiler (latest modification by $Author: svieujot $)

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Constructor Summary
UISaveState()
           
 
Method Summary
 java.lang.String getFamily()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.component.UIParameter
getName, getValue, setName, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

UISaveState

public UISaveState()
Method Detail

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)

getFamily

public java.lang.String getFamily()