org.zkoss.zkmax.bind.impl
Class BindEvaluatorXImplEx

java.lang.Object
  extended by org.zkoss.zk.xel.impl.SimpleEvaluator
      extended by org.zkoss.bind.impl.BindEvaluatorXImpl
          extended by 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
BindEvaluatorXImplEx()
           
BindEvaluatorXImplEx(FunctionMapper mapper)
           
BindEvaluatorXImplEx(FunctionMapper mapper, java.lang.Class<? extends ExpressionFactory> expfcls)
           
 
Method Summary
 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 interface BindEvaluatorX
Overrides:
parseExpressionX in class BindEvaluatorXImpl
expression - the expression to be prepared for being evaluated later.
expectedType - the expected type of the result of the evaluation
Throws:
XelException


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo