org.mvel2.jsr223
Class MvelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.mvel2.jsr223.MvelScriptEngine
- All Implemented Interfaces:
- Compilable, ScriptEngine
public class MvelScriptEngine
- extends AbstractScriptEngine
- implements ScriptEngine, Compilable
| 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 |
MvelScriptEngine
public MvelScriptEngine()
eval
public Object eval(String script,
ScriptContext context)
throws ScriptException
- Specified by:
eval in interface ScriptEngine
- Throws:
ScriptException
eval
public Object eval(Reader reader,
ScriptContext context)
throws ScriptException
- Specified by:
eval in interface ScriptEngine
- Throws:
ScriptException
createBindings
public Bindings createBindings()
- Specified by:
createBindings in interface ScriptEngine
getFactory
public ScriptEngineFactory getFactory()
- Specified by:
getFactory in interface ScriptEngine
compile
public CompiledScript compile(String script)
throws ScriptException
- Specified by:
compile in interface Compilable
- Throws:
ScriptException
compile
public CompiledScript compile(Reader reader)
throws ScriptException
- Specified by:
compile in interface Compilable
- Throws:
ScriptException
compiledScript
public Serializable compiledScript(String script)
throws ScriptException
- Throws:
ScriptException
evaluate
public Object evaluate(Serializable expression,
ScriptContext context)
throws ScriptException
- Throws:
ScriptException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.