Examples of FluentParserContext


Examples of org.springframework.binding.expression.support.FluentParserContext

        "var", "number", new FluentParserContext().expectResult(Long.class))));
    assertEquals(new Long(0), exp.getValue(bean));
  }

  public void testNestedVariablesWithTemplates() {
    Expression exp = parser.parseExpression("#var", new FluentParserContext().variable(new ExpressionVariable(
        "var", "${flag}${#var}", new FluentParserContext().template().variable(
            new ExpressionVariable("var", "number")))));
    assertEquals("false0", exp.getValue(bean));
  }
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.