Package com.tridion.tcdl

Examples of com.tridion.tcdl.TransformContext


  /**
   * The main method to test the functionality of the parser
   */
  public static void main(String[] args) {
    log.debug("Start");
    TransformContext context = new TransformContext("", "");
    Map<String, Date> map = new TreeMap<String, Date>();
    map.put("b", new Date());
    context.set("a", map);

    Parser parser = new Parser(context);
    // ExpressionNode expr = parser.parseExpression("sin(pi/2)");
    // expr.accept(new SetVariable("pi", Math.PI));
    // System.out.println("The value of the expression is " + expr.getValue());
View Full Code Here

TOP

Related Classes of com.tridion.tcdl.TransformContext

Copyright © 2018 www.massapicom. 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.