Package org.mvel2.jsr223
Class MvelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.mvel2.jsr223.MvelScriptEngine
- All Implemented Interfaces:
Compilable
,ScriptEngine
-
Field Summary
FieldsFields inherited from class javax.script.AbstractScriptEngine
context
Fields 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) private static String
Methods inherited from class javax.script.AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.script.ScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, put, setBindings, setContext
-
Field Details
-
factory
-
-
Constructor Details
-
MvelScriptEngine
public MvelScriptEngine()
-
-
Method Details
-
eval
- Specified by:
eval
in interfaceScriptEngine
- Throws:
ScriptException
-
eval
- Specified by:
eval
in interfaceScriptEngine
- Throws:
ScriptException
-
createBindings
- Specified by:
createBindings
in interfaceScriptEngine
-
getFactory
- Specified by:
getFactory
in interfaceScriptEngine
-
readFully
- Throws:
ScriptException
-
compile
- Specified by:
compile
in interfaceCompilable
- Throws:
ScriptException
-
compile
- Specified by:
compile
in interfaceCompilable
- Throws:
ScriptException
-
compiledScript
- Throws:
ScriptException
-
evaluate
- Throws:
ScriptException
-