public class UIOutput extends UIComponentBase implements ValueHolder
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
UIOutput()
Construct an instance of the UIOutput.
|
Modifier and Type | Method and Description |
---|---|
Converter |
getConverter()
Gets An expression that specifies the Converter for this component.
|
String |
getFamily() |
Object |
getLocalValue() |
Object |
getValue()
Gets The initial value of this component.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setConverter(Converter converter)
Sets An expression that specifies the Converter for this component.
|
void |
setValue(Object value)
Sets The initial value of this component.
|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public Object getLocalValue()
getLocalValue
in interface ValueHolder
public Object getValue()
getValue
in interface ValueHolder
public void setValue(Object value)
setValue
in interface ValueHolder
value
- the new value valuepublic Converter getConverter()
getConverter
in interface ValueHolder
public void setConverter(Converter converter)
setConverter
in interface ValueHolder
converter
- the new converter valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
state
- is an object previously returned by
the saveState method of this class.public String getFamily()
getFamily
in class UIComponent
Copyright © 2013 Apache Software Foundation. All Rights Reserved.