public interface ExpressionX extends Expression
Expression
to have more control to handle Expression Language EL 2.2 specs.
With ExpressionX
, you are allow to set value into property resolved by this expression.
Notice it is available only ZEL 2.2
is used. Please refer to Expressions.newExpressionFactory()
for more information.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpressionString()
Returns the expression in String form.
|
java.lang.Class |
getType(XelContext xelc)
Returns the result type of this expression.
|
ValueReference |
getValueReference(XelContext xelc)
Returns the target bean and field name of this expression.
|
boolean |
isReadOnly(XelContext ctx)
Returns whether this is a read only (cannot setValue) expression.
|
void |
setValue(XelContext ctx,
java.lang.Object value)
Set values into the property resolved by this expression.
|
evaluate
boolean isReadOnly(XelContext ctx) throws XelException
ctx
- the evaluation contextXelException
void setValue(XelContext ctx, java.lang.Object value) throws XelException
ctx
- the evaluation contextvalue
- the value to be set into the property resolved by this expressionXelException
java.lang.String getExpressionString()
java.lang.Class getType(XelContext xelc)
xelc
- the evaluation contextValueReference getValueReference(XelContext xelc)
xelc
- the evaluation contextCopyright © 2005-2011 Potix Corporation. All Rights Reserved.