Examples of ExValue


Examples of org.zkoss.zest.sys.ExValue

    } else if (clsnm.indexOf("${") < 0) {
      _klass = Classes.forNameByThread(clsnm);
      _klassV = null;
    } else {
      _klass = null;
      _klassV = new ExValue(clsnm, Object.class);
    }

    _method = new ExValue(method != null ? method: "execute", String.class);
    _results = new HashMap<String, ViewInfoProxy>(results);
  }
View Full Code Here

Examples of org.zkoss.zest.sys.ExValue

*/
public class ViewInfoProxy {
  private final ExValue _type;
  private final ExValue _content;
  public ViewInfoProxy(String type, String content) {
    _type = new ExValue(type, String.class);
    _content = new ExValue(content, String.class);
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

  /*package*/ ArgumentInfo(Map args) {
    if (args != null && !args.isEmpty()) {
      for (Iterator it = args.entrySet().iterator(); it.hasNext();) {
        final Map.Entry me = (Map.Entry)it.next();
        me.setValue(new ExValue((String)me.getValue(), Object.class));
      }
      _args = args;
    } else
      _args = null;
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

   * (returned by {@link #resolveSwitch}) is an empty string.
   */
  public void setSwitch(String switchc) {
    if (_case != null && switchc != null)
      throw new IllegalStateException("case and switch/choose cannot coexist");
    _switch = switchc != null ? new ExValue(switchc, Object.class): null;
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

        _resolver = cls;
      } catch (ClassNotFoundException ex) {
        throw new ClassNotFoundException("Class not found: "+clsnm, ex);
      }
    } else {
      _resolver = new ExValue(clsnm, String.class);
    }
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

   * belongs.
   */
  public TextInfo(EvaluatorRef evalr, String text) {
    if (evalr == null) throw new IllegalArgumentException();
    _evalr = evalr;
    _text = text != null ? new ExValue(text, String.class): null;
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

      throw new IllegalArgumentException();

    _evalr = evalr;
    _page = null;
    _comp = comp;
    _expr = expr != null ? new ExValue[] {new ExValue(expr, Object.class)}: null;
    _begin = begin != null && begin.length() > 0 ? new ExValue(begin, Integer.class): null;
    _end = end != null && end.length() > 0 ? new ExValue(end, Integer.class): null;
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

      throw new IllegalArgumentException();

    _evalr = evalr;
    _page = page;
    _comp = null;
    _expr = expr != null ? new ExValue[] {new ExValue(expr, Object.class)}: null;
    _begin = begin != null && begin.length() > 0 ? new ExValue(begin, Integer.class): null;
    _end = end != null && end.length() > 0 ? new ExValue(end, Integer.class): null;
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

  public void addCustomAttribute(String name, String value) {
    if (name == null || value == null
    || name.length() == 0 || value.length() == 0)
      throw new IllegalArgumentException();

    final ExValue ev = new ExValue(value, Object.class);
    if (_custAttrs == null)
      _custAttrs = new HashMap(4);
    _custAttrs.put(name, ev);
  }
View Full Code Here

Examples of org.zkoss.zk.xel.ExValue

    if (name == null || name.length() == 0)
      throw new IllegalArgumentException();

    if (_molds == null)
      _molds = new HashMap(2);
    _molds.put(name, new ExValue(widgetClass, String.class));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.