| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object extended by javax.faces.component.UIComponent extended by javax.faces.component.UIComponentBase extended by javax.faces.component.UIOutput extended by javax.faces.component.UIInput extended by javax.faces.component.html.HtmlInputHidden
public class HtmlInputHidden
Represents an HTML input element
 of type hidden.
By default, the rendererType property must be set to "javax.faces.Hidden".
 This value can be changed by calling the setRendererType() method.
| Field Summary | |
|---|---|
| static String | COMPONENT_TYPEThe standard component type for this component. | 
| Fields inherited from class javax.faces.component.UIInput | 
|---|
| COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID | 
| Fields inherited from class javax.faces.component.UIComponent | 
|---|
| bindings | 
| Constructor Summary | |
|---|---|
| HtmlInputHidden() | |
| Method Summary | |
|---|---|
|  void | restoreState(FacesContext _context,
 Object _state)Perform any processing required to restore the state from the entries in the state Object. | 
|  Object | saveState(FacesContext _context)Gets the state of the instance as a SerializableObject. | 
| Methods inherited from class javax.faces.component.UIOutput | 
|---|
| getConverter, getLocalValue, getValue, setConverter | 
| Methods inherited from class javax.faces.component.UIComponentBase | 
|---|
| addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding | 
| Methods inherited from class javax.faces.component.UIComponent | 
|---|
| encodeAll, getContainerClientId, getValueExpression, setValueExpression | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface javax.faces.component.ValueHolder | 
|---|
| getConverter, getLocalValue, getValue, setConverter | 
| Field Detail | 
|---|
public static final String COMPONENT_TYPE
The standard component type for this component.
| Constructor Detail | 
|---|
public HtmlInputHidden()
| Method Detail | 
|---|
public Object saveState(FacesContext _context)
StateHolder Gets the state of the instance as a
 Serializable Object.
If the class that implements this interface has references to
 instances that implement StateHolder (such as a
 UIComponent with event handlers, validators, etc.)
 this method must call the StateHolder.saveState(javax.faces.context.FacesContext) method on all those
 instances as well. This method must not save the state
 of children and facets. That is done via the StateManager
This method must not alter the state of the implementing object. In other words, after executing this code:
 Object state = component.saveState(facesContext);
 
component should be the same as before executing
 it.
The return from this method must be Serializable
saveState in interface StateHoldersaveState in class UIInputpublic void restoreState(FacesContext _context, Object _state)
StateHolderPerform any processing required to restore the state from the entries in the state Object.
If the class that implements this interface has references to
 instances that also implement StateHolder (such as a
 UIComponent with event handlers, validators, etc.)
 this method must call the StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object) method on all those
 instances as well. 
restoreState in interface StateHolderrestoreState in class UIInput| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.