org.zkoss.el
Class Evals

java.lang.Object
  extended by org.zkoss.el.Evals

public class Evals
extends java.lang.Object

Utilities to wrap the real implementation of Expression Language evaluators.

Author:
tomyeh

Constructor Summary
protected Evals()
           
 
Method Summary
static java.lang.Object evaluate(java.lang.String expr, java.lang.Class expectedType, VariableResolver resolv, FunctionMapper funcs)
          Evaluates the expression with the specified resolver and mapper, and the expected class is Object.class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evals

protected Evals()
Method Detail

evaluate

public static java.lang.Object evaluate(java.lang.String expr,
                                        java.lang.Class expectedType,
                                        VariableResolver resolv,
                                        FunctionMapper funcs)
                                 throws XelException
Evaluates the expression with the specified resolver and mapper, and the expected class is Object.class.

Unlike ExpressionEvaluator, null is returned if expr is null.

Parameters:
expr - the expression, which might contain zero, one or multiple ${...}.
Throws:
XelException


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.