Class ValueBinding
- java.lang.Object
-
- javax.faces.el.ValueBinding
-
public abstract class ValueBinding extends java.lang.ObjectDeprecated.This has been replaced byValueExpression.ValueBinding is an object that can be used to access the property represented by an action or value binding expression. An immutable
ValueBindingfor a particular value binding can be acquired by calling thecreateValueBinding()method of theApplicationinstance for this web application.
-
-
Constructor Summary
Constructors Constructor Description ValueBinding()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetExpressionString()Deprecated.Return the (possiblynull) expression String, including the delimiters, from which thisValueBindingwas built.abstract java.lang.ClassgetType(FacesContext context)Deprecated.Return the type of the property represented by thisValueBinding, relative to the specifiedFacesContext.abstract java.lang.ObjectgetValue(FacesContext context)Deprecated.Return the value of the property represented by thisValueBinding, relative to the specifiedFacesContext.abstract booleanisReadOnly(FacesContext context)Deprecated.Returntrueif the specified property of the specified property is known to be immutable; otherwise, returnfalse.abstract voidsetValue(FacesContext context, java.lang.Object value)Deprecated.Set the value of the property represented by thisValueBinding, relative to the specifiedFacesContext.
-
-
-
Method Detail
-
getValue
public abstract java.lang.Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return the value of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Parameters:
context-FacesContextfor the current request- Throws:
EvaluationException- if an exception is thrown while getting the value (the thrown exception must be included as thecauseproperty of this exception)java.lang.NullPointerException- ifcontextisnullPropertyNotFoundException- if a specified property name does not exist, or is not readable
-
setValue
public abstract void setValue(FacesContext context, java.lang.Object value) throws EvaluationException, PropertyNotFoundException
Deprecated.Set the value of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Parameters:
context-FacesContextfor the current requestvalue- The new value to be set- Throws:
EvaluationException- if an exception is thrown while setting the value (the thrown exception must be included as thecauseproperty of this exception)java.lang.NullPointerException- ifcontextisnullPropertyNotFoundException- if a specified property name does not exist, or is not writeable
-
isReadOnly
public abstract boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return
trueif the specified property of the specified property is known to be immutable; otherwise, returnfalse.- Parameters:
context-FacesContextfor the current request- Throws:
EvaluationException- if an exception is thrown while getting the description of the property (the thrown exception must be included as thecauseproperty of this exception)java.lang.NullPointerException- ifcontextisnullPropertyNotFoundException- if a specified property name does not exist
-
getType
public abstract java.lang.Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return the type of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Parameters:
context-FacesContextfor the current request- Throws:
EvaluationException- if an exception is thrown while getting the description of the property (the thrown exception must be included as thecauseproperty of this exception)java.lang.NullPointerException- ifcontextisnullPropertyNotFoundException- if a specified property name does not exist
-
getExpressionString
public java.lang.String getExpressionString()
Deprecated.Return the (possibly
null) expression String, including the delimiters, from which thisValueBindingwas built.
-
-