net.sf.oval.expression
Class ExpressionLanguageJavaScriptImpl

java.lang.Object
  extended by net.sf.oval.expression.AbstractExpressionLanguage
      extended by net.sf.oval.expression.ExpressionLanguageJavaScriptImpl
All Implemented Interfaces:
ExpressionLanguage

public class ExpressionLanguageJavaScriptImpl
extends AbstractExpressionLanguage

Author:
Sebastian Thomschke

Constructor Summary
ExpressionLanguageJavaScriptImpl()
           
 
Method Summary
 Object evaluate(String expression, Map<String,?> values)
          Evaluates the given expression.
 
Methods inherited from class net.sf.oval.expression.AbstractExpressionLanguage
evaluateAsBoolean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionLanguageJavaScriptImpl

public ExpressionLanguageJavaScriptImpl()
Method Detail

evaluate

public Object evaluate(String expression,
                       Map<String,?> values)
                throws ExpressionEvaluationException
Description copied from interface: ExpressionLanguage
Evaluates the given expression.

Parameters:
expression - the expression to evaluate
values - context values passed to the interpreter
Returns:
the result of the expression evaluation
Throws:
ExpressionEvaluationException - in case of an invalid expression


Copyright © 2005–2015 The OVal Development Team. All rights reserved.