|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Expression
XelException
public boolean isReadOnly(XelContext xelc) throws XelException
ExpressionX
isReadOnly
in interface ExpressionX
xelc
- the evaluation context
XelException
public void setValue(XelContext xelc, java.lang.Object value) throws XelException
ExpressionX
setValue
in interface ExpressionX
xelc
- the evaluation contextvalue
- the value to be set into the property resolved by this expression
XelException
public java.lang.String getExpressionString()
ExpressionX
getExpressionString
in interface ExpressionX
public java.lang.Class getType(XelContext xelc)
ExpressionX
getType
in interface ExpressionX
xelc
- the evaluation context
public ValueReference getValueReference(XelContext xelc)
ExpressionX
getValueReference
in interface ExpressionX
xelc
- the evaluation context
protected ELContext newELContext(XelContext xelc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |