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