|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BindEvaluatorX
An extension of Evaluator
to have more control to handle Binding via EL.
With BindEvaluatorX
, you are allow to parse a Method expression or set value into property
resolved by the provided expression.
Method Summary | |
---|---|
java.lang.Class<?> |
getType(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result type of the specified expression. |
java.lang.Object |
getValue(BindContext ctx,
Component comp,
ExpressionX expression)
Sets the specified value to the property resolved from the specified expression. |
ValueReference |
getValueReference(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result reference of the specified expression. |
boolean |
isReadOnly(BindContext ctx,
Component comp,
ExpressionX expression)
Returns whether the specified expression a read only expression. |
ExpressionX |
parseExpressionX(BindContext ctx,
java.lang.String expression,
java.lang.Class<?> expectedType)
Prepares the expressionX. |
void |
setValue(BindContext ctx,
Component comp,
ExpressionX expression,
java.lang.Object value)
Sets the specified value to the property resolved from the specified expression. |
Methods inherited from interface org.zkoss.zk.xel.Evaluator |
---|
evaluate, evaluate, parseExpression |
Method Detail |
---|
ExpressionX parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType) throws XelException
expression
- the expression to be prepared for being evaluated
later.expectedType
- the expected type of the result of the evaluation
XelException
void setValue(BindContext ctx, Component comp, ExpressionX expression, java.lang.Object value) throws XelException
ctx
- the scoped bind context of this operationcomp
- the scoped component context of this operationexpression
- the expression that will resolve a propertyvalue
- the value to be set into the resolved property
XelException
java.lang.Object getValue(BindContext ctx, Component comp, ExpressionX expression) throws XelException
ctx
- the scoped bind context of this operationcomp
- the scoped component context of this operationexpression
- the expression that will resolve a property
XelException
java.lang.Class<?> getType(BindContext ctx, Component comp, ExpressionX expression) throws XelException
ctx
- BindContextcomp
- evaluation contextexpression
- the expression that will resolve a property
XelException
ValueReference getValueReference(BindContext ctx, Component comp, ExpressionX expression) throws XelException
ctx
- BindContextcomp
- evaluation contextexpression
- the expression that will resolve a property
XelException
boolean isReadOnly(BindContext ctx, Component comp, ExpressionX expression) throws XelException
ctx
- BindContextcomp
- evaluation contextexpression
- the expression that will resolve a property
XelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |