|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.oval.expression.ExpressionLanguageScriptEngineImpl
public class ExpressionLanguageScriptEngineImpl
JSR223 Support
| Method Summary | |
|---|---|
Object |
evaluate(String expression,
Map<String,?> values)
Evaluates the given expression. |
boolean |
evaluateAsBoolean(String expression,
Map<String,?> values)
Evaluates the given expression and expects it to return a boolean. |
static ExpressionLanguageScriptEngineImpl |
get(String languageId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ExpressionLanguageScriptEngineImpl get(String languageId)
public Object evaluate(String expression,
Map<String,?> values)
throws ExpressionEvaluationException
evaluate in interface ExpressionLanguageexpression - the expression to evaluatevalues - context values passed to the interpreter
ExpressionEvaluationException - in case of an invalid expression
public boolean evaluateAsBoolean(String expression,
Map<String,?> values)
throws ExpressionEvaluationException
evaluateAsBoolean in interface ExpressionLanguageexpression - the expression to evaluatevalues - context values passed to the interpreter
ExpressionEvaluationException - If an error during evaluation occurs or if the return value is not a boolean value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||