public abstract class ValueExpression extends Expression
Constructor and Description |
---|
ValueExpression() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class |
getExpectedType()
Returns the type of this variable after evaluation.
|
abstract java.lang.Class |
getType(ELContext context)
Returns the most general type that a call to
setValue(javax.el.ELContext, java.lang.Object) will
accept. |
abstract java.lang.Object |
getValue(ELContext context)
Returns the associated value.
|
abstract boolean |
isReadOnly(ELContext context)
Indicates whether this variable is read-only.
|
abstract void |
setValue(ELContext context,
java.lang.Object value)
Sets the associated value.
|
equals, getExpressionString, hashCode, isLiteralText
public abstract java.lang.Object getValue(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
java.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract void setValue(ELContext context, java.lang.Object value) throws java.lang.NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException
java.lang.NullPointerException
PropertyNotFoundException
PropertyNotWritableException
ELException
public abstract boolean isReadOnly(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
java.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract java.lang.Class getType(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
setValue(javax.el.ELContext, java.lang.Object)
will
accept.java.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract java.lang.Class getExpectedType()