Save This Page
Home » mojarra-1.2_09-b02-FCS-source » javax.faces.component » [javadoc | source]
javax.faces.component
public interface: ValueHolder [javadoc | source]

All Known Implementing Classes:
    UISelectMany, HtmlSelectOneListbox, HtmlSelectManyCheckbox, UISelectBoolean, HtmlOutputFormat, HtmlSelectManyListbox, HtmlSelectBooleanCheckbox, HtmlSelectManyMenu, HtmlInputHidden, HtmlInputSecret, HtmlSelectOneMenu, HtmlInputText, UISelectOne, EditableValueHolder, HtmlSelectOneRadio, UIOutput, HtmlOutputLabel, UIInput, HtmlOutputLink, HtmlInputTextarea, HtmlOutputText

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 expression, and support conversion between String and the model tier data's native data type.
Method from javax.faces.component.ValueHolder Summary:
getConverter,   getLocalValue,   getValue,   setConverter,   setValue
Method from javax.faces.component.ValueHolder Detail:
 public Converter getConverter()
 public Object getLocalValue()
 public Object getValue()

    Gets the value of this UIComponent . First, consult the local value property of this component. If non-null return it. If null, see if we have a ValueExpression for the value property. If so, return the result of evaluating the property, otherwise return null. Note that because the specification for UIComponent#setValueBinding requires a call through to UIComponent#setValueExpression , legacy tags will continue to work.

 public  void setConverter(Converter converter)
 public  void setValue(Object value)