public abstract class ValueExpression extends Expression
Constructor and Description |
---|
ValueExpression() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class<?> |
getExpectedType() |
abstract java.lang.Class<?> |
getType(ELContext context) |
abstract java.lang.Object |
getValue(ELContext context) |
ValueReference |
getValueReference(ELContext context) |
abstract boolean |
isReadOnly(ELContext context) |
abstract void |
setValue(ELContext context,
java.lang.Object value) |
equals, getExpressionString, hashCode, isLiteralText
public abstract java.lang.Object getValue(ELContext context)
context
- The EL context for this evaluationjava.lang.NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If a property/variable resolution failed because no match
was found or a match was found but was not readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic abstract void setValue(ELContext context, java.lang.Object value)
context
- The EL context for this evaluationvalue
- The value to set the property to which this value
expression refersjava.lang.NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If a property/variable resolution failed because no match
was foundPropertyNotWritableException
- If a property/variable resolution failed because a match was
found but was not writableELException
- Wraps any exception throw whilst resolving a property or
variablepublic abstract boolean isReadOnly(ELContext context)
context
- The EL context for this evaluationtrue
if this expression is read only otherwise
false
java.lang.NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If a property/variable resolution failed because no match
was found or a match was found but was not readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic abstract java.lang.Class<?> getType(ELContext context)
context
- The EL context for this evaluationjava.lang.NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If a property/variable resolution failed because no match
was found or a match was found but was not readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic abstract java.lang.Class<?> getExpectedType()
public ValueReference getValueReference(ELContext context)
context
- The EL context for this evaluationnull
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.