|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 Summary | |
javax.faces.convert.Converter |
getConverter()
Return the Converter (if any)
that is registered for this UIComponent. |
java.lang.Object |
getLocalValue()
Return the local value of this UIComponent (if any),
without evaluating any associated ValueBinding. |
java.lang.Object |
getValue()
Gets the value of this UIComponent. |
void |
setConverter(javax.faces.convert.Converter converter)
Set the Converter (if any)
that is registered for this UIComponent. |
void |
setValue(java.lang.Object value)
Set the value of this UIComponent (if any). |
| Method Detail |
public java.lang.Object getLocalValue()
Return the local value of this UIComponent (if any),
without evaluating any associated ValueBinding.
public java.lang.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.
public void setValue(java.lang.Object value)
Set the value of this UIComponent (if any).
value - The new local valuepublic javax.faces.convert.Converter getConverter()
Return the Converter (if any)
that is registered for this UIComponent.
public void setConverter(javax.faces.convert.Converter converter)
Set the Converter (if any)
that is registered for this UIComponent.
converter - New Converter (or null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||