Package de.odysseus.el.misc

Examples of de.odysseus.el.misc.TypeConverter


 
  @Override
  protected void setUp() throws Exception {
    context = new SimpleContext(new SimpleResolver());
   
    TypeConverter converter = TypeConverter.DEFAULT;
   
    // variables var_long_1, indentifier_string
    context.setVariable("var_long_1", new ObjectValueExpression(converter, 1l, long.class));
    context.setVariable("indentifier_string", new ObjectValueExpression(converter, "foo", String.class));
    context.setVariable("var_method_1", new ObjectValueExpression(converter, getClass().getMethod("method_1"), Method.class));
View Full Code Here


 
  @Override
  protected void setUp() throws Exception {
    context = new SimpleContext(new SimpleResolver());
   
    TypeConverter converter = TypeConverter.DEFAULT;
   
    // variables var_long_1, indentifier_string
    context.setVariable("var_long_1", new ObjectValueExpression(converter, 1l, long.class));
    context.setVariable("indentifier_string", new ObjectValueExpression(converter, "foo", String.class));
    context.setVariable("var_method_1", new ObjectValueExpression(converter, getClass().getMethod("method_1"), Method.class));
View Full Code Here

TOP

Related Classes of de.odysseus.el.misc.TypeConverter

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.