|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.el.ValueBinding
ValueBinding represents an object that can be used
to access the property represented by an action or value reference
expression. An immutable ValueBinding for a particular reference
can be acquired by calling the getValueBinding() method of
the Application instance for this web
application. Implementations of ValueBinding are suitable for
caching the bindings for frequently accessed expressions, without requiring
per-request reparsing.
| Constructor Summary | |
ValueBinding()
|
|
| Method Summary | |
abstract java.lang.Class |
getType(FacesContext context)
Return the type of the property represented by this ValueBinding, relative to the specified FacesContext. |
abstract java.lang.Object |
getValue(FacesContext context)
Return the value of the property represented by this ValueBinding, relative to the specified FacesContext. |
abstract boolean |
isReadOnly(FacesContext context)
Return true if the specified property of the specified
property is known to be immutable; otherwise, return
false. |
abstract void |
setValue(FacesContext context,
java.lang.Object value)
Set the value of the property represented by this ValueBinding, relative to the specified FacesContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueBinding()
| Method Detail |
public abstract java.lang.Object getValue(FacesContext context)
throws PropertyNotFoundException
Return the value of the property represented by this
ValueBinding, relative to the specified FacesContext.
context - FacesContext for the current request
java.lang.NullPointerException - if context
is null
PropertyNotFoundException - if the specified property name
does not exist, or is not readable
public abstract void setValue(FacesContext context,
java.lang.Object value)
throws PropertyNotFoundException
Set the value of the property represented by this
ValueBinding, relative to the specified FacesContext.
context - FacesContext for the current requestvalue - The new value to be set
java.lang.NullPointerException - if context
is null
PropertyNotFoundException - if the specified property name
does not exist, or is not writeable
public abstract boolean isReadOnly(FacesContext context)
throws PropertyNotFoundException
Return true if the specified property of the specified
property is known to be immutable; otherwise, return
false.
context - FacesContext for the current request
java.lang.NullPointerException - if context
is null
PropertyNotFoundException - if the specified property name
does not exist
public abstract java.lang.Class getType(FacesContext context)
throws PropertyNotFoundException
Return the type of the property represented by this
ValueBinding, relative to the specified FacesContext.
context - FacesContext for the current request
java.lang.NullPointerException - if context
is null
PropertyNotFoundException - if the specified property name
does not exist, or is not writeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||