Class Evaluators

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

public class Evaluators extends Object
Utilities of evaluation.
Since:
3.5.0
Author:
tomyeh
  • Constructor Details

    • Evaluators

      public Evaluators()
  • Method Details

    • evaluate

      public static Object evaluate(Evaluator eval, Component comp, String expr, Class<?> expectedClass)
      Evaluates the specified expression (which might or might not contain ${ or #{).
      Parameters:
      comp - the component to represent the self variable
    • evaluate

      public static Object evaluate(Evaluator eval, Page page, String expr, Class<?> expectedClass)
      Evaluates the specified expression (which might or might not contain ${ or #{}).
      Parameters:
      page - the page to represent the self variable