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:

javax.faces.component.StateHolder, javax.faces.component.ValueHolder

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 or null 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, or null 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, or null 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 the saveState() 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.