Class MvelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.mvel2.jsr223.MvelScriptEngine
- All Implemented Interfaces:
Compilable, ScriptEngine
-
Field Summary
FieldsFields inherited from class AbstractScriptEngine
contextFields inherited from interface 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) private static StringMethods inherited from class AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, put, setBindings, setContext
-
Field Details
-
factory
-
-
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
-
readFully
- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
compiledScript
- Throws:
ScriptException
-
evaluate
- Throws:
ScriptException
-