biz.hammurapi.eval
Class EvaluatingContext

java.lang.Object
  extended by biz.hammurapi.eval.EvaluatingContext
All Implemented Interfaces:
Context

public class EvaluatingContext
extends java.lang.Object
implements Context

Author:
Pavel Vlasov

Constructor Summary
EvaluatingContext(Context context, java.util.Collection methods, CompositeConverter converter)
           
 
Method Summary
static MultiResult forEach(java.lang.Object param)
           
 java.lang.Object get(java.lang.String expression)
           
protected  java.lang.String translate(java.lang.String name)
          Translates "indexed" property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatingContext

public EvaluatingContext(Context context,
                         java.util.Collection methods,
                         CompositeConverter converter)
                  throws EvaluationException
Throws:
EvaluationException
Method Detail

forEach

public static MultiResult forEach(java.lang.Object param)
                           throws EvaluationException
Throws:
EvaluationException

get

public java.lang.Object get(java.lang.String expression)
                     throws EvaluationException
Specified by:
get in interface Context
Throws:
EvaluationException

translate

protected java.lang.String translate(java.lang.String name)
Translates "indexed" property name. By default replaces '_' with ' '

Parameters:
name -
Returns:


Copyright © 2003 Hammurapi Group. All Rights Reserved.