|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
An expression capable of evaluating itself against context objects. Encapsulates the details of a previously parsed expression string. Provides a common abstraction for expression evaluation independent of any language like OGNL or the Unified EL.
Method Summary | |
---|---|
java.lang.String |
getExpressionString()
Returns the original string used to create this expression, unmodified. |
java.lang.Object |
getValue(java.lang.Object context)
Evaluate this expression in the provided context and return the result of evaluation. |
java.lang.Class<?> |
getValueType(java.lang.Object context)
Returns the most general type that can be passed to the setValue(Object, Object) method for the given
context. |
void |
setValue(java.lang.Object context,
java.lang.Object value)
Set this expression in the provided context to the value provided. |
Method Detail |
---|
java.lang.Object getValue(java.lang.Object context) throws EvaluationException
context
- the context to evaluate this expression in
EvaluationException
- an exception occurred during expression evaluationvoid setValue(java.lang.Object context, java.lang.Object value) throws EvaluationException
context
- the context on which the new value should be setvalue
- the new value to set
EvaluationException
- an exception occurred during expression evaluationjava.lang.Class<?> getValueType(java.lang.Object context) throws EvaluationException
setValue(Object, Object)
method for the given
context.
context
- the context to evaluate
null
if the type
information cannot be determined
EvaluationException
- an exception occurred during expression evaluationjava.lang.String getExpressionString()
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |