|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExpressionEvaluator
Wrapper around the OGNL library.
| Method Summary | |
|---|---|
boolean |
isConstant(String expression)
Returns true if the expression evaluates to a constant or other literal value. |
Object |
read(Object target,
String expression)
Reads a property of the target, defined by the expression. |
Object |
readCompiled(Object target,
Object expression)
Reads a property of the target, defined by the (previously compiled) expression. |
void |
write(Object target,
String expression,
Object value)
Updates a property of the target, defined by the expression. |
void |
writeCompiled(Object target,
Object expression,
Object value)
Updates a property of the target, defined by the (previously compiled) expression. |
| Method Detail |
|---|
Object read(Object target,
String expression)
ApplicationRuntimeException - if the expression can not be parsed, or if some other error
occurs during evaluation of the expression.
Object readCompiled(Object target,
Object expression)
ApplicationRuntimeException - if some other error occurs during evaluation of the
expression.
void write(Object target,
String expression,
Object value)
ApplicationRuntimeException - if the expression can not be parsed, or if some other error
occurs during evaluation of the expression.
void writeCompiled(Object target,
Object expression,
Object value)
ApplicationRuntimeException - if some other error occurs during evaluation of the
expression.boolean isConstant(String expression)
ApplicationRuntimeException - if the expression is not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||