Esempio n. 1
0
 public ValueExpression resolveVariable(String name) {
   ValueExpression value = source.resolveVariable(name);
   if (value != null) {
     if (target == null) target = new VariableMapperImpl();
     target.setVariable(name, value);
   }
   return value;
 }
Esempio n. 2
0
 public EvalClosure(EvaluationContext context, ELNode node) {
   this.context = context;
   this.node = node;
   this.fm = context.getFunctionMapper();
   this.vm = null; // build it on demand
 }