Package org.mvel2.jsr223
Class MvelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.mvel2.jsr223.MvelScriptEngine
- All Implemented Interfaces:
Compilable,ScriptEngine
-
Field Summary
Fields inherited from class javax.script.AbstractScriptEngine
contextFields inherited from interface javax.script.ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompiledScript(String script) eval(Reader reader, ScriptContext context) eval(String script, ScriptContext context) evaluate(Serializable expression, ScriptContext context) Methods inherited from class javax.script.AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.script.ScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, put, setBindings, setContext
-
Constructor Details
-
MvelScriptEngine
public MvelScriptEngine()
-
-
Method Details
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
createBindings
- Specified by:
createBindingsin interfaceScriptEngine
-
getFactory
- Specified by:
getFactoryin interfaceScriptEngine
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
compiledScript
- Throws:
ScriptException
-
evaluate
- Throws:
ScriptException
-