public class ELXelExpression extends Object implements ExpressionX, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ELXelExpression.ValueReferenceImpl |
| Modifier and Type | Field and Description |
|---|---|
protected org.zkoss.zel.ValueExpression |
_expr |
| Constructor and Description |
|---|
ELXelExpression(org.zkoss.zel.ValueExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(XelContext xelc)
Evaluates an expression that was previously prepared.
|
String |
getExpressionString()
Returns the expression in String form.
|
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 xelc)
Returns whether this is a read only (cannot setValue) expression.
|
protected org.zkoss.zel.ELContext |
newELContext(XelContext xelc) |
void |
setValue(XelContext xelc,
Object value)
Set values into the property resolved by this expression.
|
public Object evaluate(XelContext xelc) throws XelException
Expressionevaluate in interface ExpressionXelExceptionpublic boolean isReadOnly(XelContext xelc) throws XelException
ExpressionXisReadOnly in interface ExpressionXxelc - the evaluation contextXelExceptionpublic void setValue(XelContext xelc, Object value) throws XelException
ExpressionXsetValue in interface ExpressionXxelc - the evaluation contextvalue - the value to be set into the property resolved by this expressionXelExceptionpublic String getExpressionString()
ExpressionXgetExpressionString in interface ExpressionXpublic Class getType(XelContext xelc)
ExpressionXgetType in interface ExpressionXxelc - the evaluation contextpublic ValueReference getValueReference(XelContext xelc)
ExpressionXgetValueReference in interface ExpressionXxelc - the evaluation contextprotected org.zkoss.zel.ELContext newELContext(XelContext xelc)
Copyright © 2018. All rights reserved.