IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.utils
Class ExpressionEval

java.lang.Object
  extended by com.ibm.btt.utils.ExpressionEval

public class ExpressionEval
extends java.lang.Object


Constructor Summary
ExpressionEval()
           
 
Method Summary
 java.lang.Object eval(java.lang.String expression, Context ctx)
          Method used to evaluate expressions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEval

public ExpressionEval()
Method Detail

eval

public java.lang.Object eval(java.lang.String expression,
                             Context ctx)
                      throws DSEInvalidArgumentException
Method used to evaluate expressions. First, function names within expressions are replaced with real class.function path to use in Runtime. Then, Data names contained in expressions are replaced with their values found by Bindings. Finally, expressions are evaluated by a JavaScript engine, and the result Object is returned.

Parameters:
expression -
ctx -
Returns:
Throws:
DSEInvalidArgumentException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011