@JSFComponent(defaultRendererType="jakarta.faces.Text") public class UIOutput extends UIComponentBase implements ValueHolder
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY| Constructor and Description |
|---|
UIOutput()
Construct an instance of the UIOutput.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearInitialState() |
Converter |
getConverter()
An expression that specifies the Converter for this component.
|
String |
getFamily() |
Object |
getLocalValue() |
Object |
getValue()
Gets The initial value of this component.
|
void |
markInitialState() |
void |
resetValue() |
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) |
void |
setValue(Object value)
The initial value of this component.
|
addClientBehavior, addFacesListener, broadcast, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTreegetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class UIComponentpublic Object getLocalValue()
getLocalValue in interface ValueHolder@JSFProperty public Object getValue()
getValue in interface ValueHolderpublic void setValue(Object value)
setValue in interface ValueHolderpublic void resetValue()
@JSFProperty(partialStateHolder=true) public Converter getConverter()
The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface.
getConverter in interface ValueHolderpublic void setConverter(Converter converter)
setConverter in interface ValueHolderpublic void markInitialState()
markInitialState in interface PartialStateHoldermarkInitialState in class UIComponentBasepublic void clearInitialState()
UIComponentclearInitialState in interface PartialStateHolderclearInitialState in class UIComponentBasepublic Object saveState(FacesContext facesContext)
UIComponentBasesaveState in interface StateHoldersaveState in class UIComponentBasepublic void restoreState(FacesContext facesContext, Object state)
UIComponentBaserestoreState in interface StateHolderrestoreState in class UIComponentBasestate - is an object previously returned by the saveState method of this class.Copyright © 2021 The Apache Software Foundation. All rights reserved.