Package org.zkoss.zkmax.bind.impl
Class BindEvaluatorXImplEx
java.lang.Object
org.zkoss.zk.xel.impl.SimpleEvaluator
org.zkoss.bind.impl.BindEvaluatorXImpl
org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx
- All Implemented Interfaces:
Serializable,BindEvaluatorX,Evaluator
An extension of BindEvaluatorXImpl to do a lazy initiating EL expression construction.
- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBindEvaluatorXImplEx(FunctionMapper mapper) BindEvaluatorXImplEx(FunctionMapper mapper, Class<? extends ExpressionFactory> expfcls) -
Method Summary
Modifier and TypeMethodDescriptionparseExpressionX(BindContext ctx, String expression, Class<?> expectedType) Prepares the expressionX.Methods inherited from class org.zkoss.bind.impl.BindEvaluatorXImpl
getType, getValue, getValueReference, isReadOnly, newXelContext, setValueMethods inherited from class org.zkoss.zk.xel.impl.SimpleEvaluator
evaluate, evaluate, getExpressionFactory, getExpressionFactoryClass, getFunctionMapper, getVariableResolver, newXelContext, parseExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zkoss.zk.xel.Evaluator
evaluate, evaluate, parseExpression
-
Constructor Details
-
BindEvaluatorXImplEx
-
BindEvaluatorXImplEx
-
BindEvaluatorXImplEx
public BindEvaluatorXImplEx()
-
-
Method Details
-
parseExpressionX
public ExpressionX parseExpressionX(BindContext ctx, String expression, Class<?> expectedType) throws XelException Description copied from interface:BindEvaluatorXPrepares the expressionX.- Specified by:
parseExpressionXin interfaceBindEvaluatorX- Overrides:
parseExpressionXin classBindEvaluatorXImplexpression- the expression to be prepared for being evaluated later.expectedType- the expected type of the result of the evaluation- Throws:
XelException
-