java.io.Serializablepublic abstract class ValueExpression extends Expression
| Constructor | Description |
|---|---|
ValueExpression() |
| Modifier and Type | Method | 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, isLiteralTextpublic abstract java.lang.Object getValue(ELContext context)
context - The EL context for this evaluationjava.lang.NullPointerException - If the supplied context is nullPropertyNotFoundException - 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 nullPropertyNotFoundException - 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
falsejava.lang.NullPointerException - If the supplied context is nullPropertyNotFoundException - 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 nullPropertyNotFoundException - 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 evaluationnullCopyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.