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:
java.io.Serializable
,BindEvaluatorX
,Evaluator
public class BindEvaluatorXImplEx extends BindEvaluatorXImpl
An extension of BindEvaluatorXImpl to do a lazy initiating EL expression construction.- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BindEvaluatorXImplEx()
BindEvaluatorXImplEx(FunctionMapper mapper)
BindEvaluatorXImplEx(FunctionMapper mapper, java.lang.Class<? extends ExpressionFactory> expfcls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionX
parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)
Prepares the expressionX.-
Methods inherited from class org.zkoss.bind.impl.BindEvaluatorXImpl
getType, getValue, getValueReference, isReadOnly, newXelContext, setValue
-
Methods inherited from class org.zkoss.zk.xel.impl.SimpleEvaluator
evaluate, evaluate, getExpressionFactory, getExpressionFactoryClass, getFunctionMapper, getVariableResolver, newXelContext, parseExpression
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zkoss.zk.xel.Evaluator
evaluate, evaluate, parseExpression
-
-
-
-
Constructor Detail
-
BindEvaluatorXImplEx
public BindEvaluatorXImplEx(FunctionMapper mapper, java.lang.Class<? extends ExpressionFactory> expfcls)
-
BindEvaluatorXImplEx
public BindEvaluatorXImplEx(FunctionMapper mapper)
-
BindEvaluatorXImplEx
public BindEvaluatorXImplEx()
-
-
Method Detail
-
parseExpressionX
public ExpressionX parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType) throws XelException
Description copied from interface:BindEvaluatorX
Prepares the expressionX.- Specified by:
parseExpressionX
in interfaceBindEvaluatorX
- Overrides:
parseExpressionX
in classBindEvaluatorXImpl
expression
- the expression to be prepared for being evaluated later.expectedType
- the expected type of the result of the evaluation- Throws:
XelException
-
-