Package org.zkoss.xel
Interface ExpressionX
- All Superinterfaces:
Expression
- All Known Implementing Classes:
ELXelExpression
An extension of
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.
- Since:
- 6.0.0
- Author:
- henri
-
Method Summary
Modifier and TypeMethodDescriptionReturns the expression in String form.getType(XelContext xelc) Returns the result type of this expression.getValueReference(XelContext xelc) Returns the target bean and field name of this expression.booleanisReadOnly(XelContext ctx) Returns whether this is a read only (cannot setValue) expression.voidsetValue(XelContext ctx, Object value) Set values into the property resolved by this expression.Methods inherited from interface org.zkoss.xel.Expression
evaluate
-
Method Details
-
isReadOnly
Returns whether this is a read only (cannot setValue) expression.- Parameters:
ctx- the evaluation context- Returns:
- whether this is a read only (cannot setValue) expression.
- Throws:
XelException
-
setValue
Set values into the property resolved by this expression.- Parameters:
ctx- the evaluation contextvalue- the value to be set into the property resolved by this expression- Throws:
XelException
-
getExpressionString
String getExpressionString()Returns the expression in String form.- Returns:
- the expression in String form.
-
getType
Returns the result type of this expression.- Parameters:
xelc- the evaluation context- Returns:
- the result type of this expression.
-
getValueReference
Returns the target bean and field name of this expression.- Parameters:
xelc- the evaluation context- Returns:
- the target bean and field name of this expression.
-