public abstract class ValueExpression extends Expression
| Constructor and Description |
|---|
ValueExpression() |
| Modifier and Type | Method and Description |
|---|---|
abstract Class<?> |
getExpectedType() |
abstract Class<?> |
getType(ELContext context) |
abstract Object |
getValue(ELContext context) |
ValueReference |
getValueReference(ELContext context) |
abstract boolean |
isReadOnly(ELContext context) |
abstract void |
setValue(ELContext context,
Object value) |
equals, getExpressionString, hashCode, isLiteralTextpublic abstract Object getValue(ELContext context)
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, Object value)
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)
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 Class<?> getType(ELContext context)
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 Class<?> getExpectedType()
public ValueReference getValueReference(ELContext context)
Copyright © 2014 Mort Bay Consulting. All Rights Reserved.