|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.xel.zel.ELXelExpression
public class ELXelExpression
An XEL Expression that is based on ZEL ValueExpression.
| Nested Class Summary | |
|---|---|
static class |
ELXelExpression.ValueReferenceImpl
|
| Field Summary | |
|---|---|
protected ValueExpression |
_expr
|
| Constructor Summary | |
|---|---|
ELXelExpression(ValueExpression expr)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(XelContext xelc)
Evaluates an expression that was previously prepared. |
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 xelc)
Returns whether this is a read only (cannot setValue) expression. |
protected ELContext |
newELContext(XelContext xelc)
|
void |
setValue(XelContext xelc,
java.lang.Object value)
Set values into the property resolved by this expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ValueExpression _expr
| Constructor Detail |
|---|
public ELXelExpression(ValueExpression expr)
| Method Detail |
|---|
public java.lang.Object evaluate(XelContext xelc)
throws XelException
Expression
evaluate in interface ExpressionXelException
public boolean isReadOnly(XelContext xelc)
throws XelException
ExpressionX
isReadOnly in interface ExpressionXxelc - the evaluation context
XelException
public void setValue(XelContext xelc,
java.lang.Object value)
throws XelException
ExpressionX
setValue in interface ExpressionXxelc - the evaluation contextvalue - the value to be set into the property resolved by this expression
XelExceptionpublic java.lang.String getExpressionString()
ExpressionX
getExpressionString in interface ExpressionXpublic java.lang.Class getType(XelContext xelc)
ExpressionX
getType in interface ExpressionXxelc - the evaluation context
public ValueReference getValueReference(XelContext xelc)
ExpressionX
getValueReference in interface ExpressionXxelc - the evaluation context
protected ELContext newELContext(XelContext xelc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||