org.zkoss.zk.xel
Class Evaluators

java.lang.Object
  extended by org.zkoss.zk.xel.Evaluators

public class Evaluators
extends java.lang.Object

Utilities of evaluation.

Since:
3.5.0
Author:
tomyeh

Constructor Summary
Evaluators()
           
 
Method Summary
static java.lang.Object evaluate(Evaluator eval, Component comp, java.lang.String expr, java.lang.Class<?> expectedClass)
          Evaluates the specified expression (which might or might not contain ${).
static java.lang.Object evaluate(Evaluator eval, Page page, java.lang.String expr, java.lang.Class<?> expectedClass)
          Evaluates the specified expression (which might or might not contain ${).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluators

public Evaluators()
Method Detail

evaluate

public static java.lang.Object evaluate(Evaluator eval,
                                        Component comp,
                                        java.lang.String expr,
                                        java.lang.Class<?> expectedClass)
Evaluates the specified expression (which might or might not contain ${).

Parameters:
comp - the component to represent the self variable

evaluate

public static java.lang.Object evaluate(Evaluator eval,
                                        Page page,
                                        java.lang.String expr,
                                        java.lang.Class<?> expectedClass)
Evaluates the specified expression (which might or might not contain ${).

Parameters:
page - the page to represent the self variable


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