Class Hierarchy All Classes All Fields and Methods

 

Interface javax.faces.component.ValueHolder

public interface ValueHolder

ValueHolder is an interface that may be implemented by any concrete UIComponent that wishes to support a local value, as well as access data in the model tier via a value binding expression, and support conversion between String and the model tier data's native data type.

Method Index
Method Description
Converter getConverter() Return the Converter (if any) that is registered for this UIComponent.
Object getLocalValue() Return the local value of this UIComponent (if any), without evaluating any associated ValueBinding.
Object getValue() Gets the value of this UIComponent.
void setConverter(Converter) Set the Converter (if any) that is registered for this UIComponent.
void setValue(Object) Set the value of this UIComponent (if any).

 

Methods

 

getConverter

public Converter getConverter() 

Return the Converter (if any) that is registered for this UIComponent.

 

getLocalValue

public Object getLocalValue() 

Return the local value of this UIComponent (if any), without evaluating any associated ValueBinding.

 

getValue

public Object getValue() 

Gets the value of this UIComponent. First, consult the local value property of this component. If non-null return it. If non-null, see if we have a ValueBinding for the value property. If so, return the result of evaluating the property, otherwise return null.

 

setConverter

public void setConverter(Converter converter) 

Set the Converter (if any) that is registered for this UIComponent.

 

setValue

public void setValue(Object value) 

Set the value of this UIComponent (if any).

Class Hierarchy All Classes All Fields and Methods