Name
UIOutput
Synopsis
This class represents an output
component. An output component
renderers its value, which may be bound to a property of an
application class, possibly converted to a different data type. The
default rendererType
is
javax.faces.Text
.
Class name: |
javax.faces.component.UIOutput |
Extends: |
javax.faces.component.UIComponentBase |
Implements: |
j |
Fields
-
public static String COMPONENT_FAMILY
The component family:
javax.faces.Output
.-
public static String COMPONENT_TYPE
The component family:
javax.faces.Output
.
Constructor
-
public UIOutput()
Creates a new instance.
Methods
-
public javax.faces.convert.Converter getConverter()
Returns the
Converter
used to convert this component’s value ornull
if none is registered.-
public String getFamily()
Returns the component family ID.
-
public Object getLocalValue()
Returns the local value of this component, without evaluating the value
javax.faces.el.ValueBinding
if set, ornull
if the component doesn’t have a local value.-
public Object getValue()
Returns the value of this component, from the local value or by evaluating the value
javax.faces.el.ValueBinding
if it doesn’t have a local value, ornull
if the component doesn’t have a value at all.-
public void restoreState(javax.faces.context.FacesContext context, Object state)
Restores the state for this instance from the provided value; an
Object
previously returned by thesaveState()
method.-
public Object saveState(javax.faces.context.FacesContext ...
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.