public class JuelScriptEngine extends AbstractScriptEngine
ExpressionFactoryResolver
.context
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Constructor and Description |
---|
JuelScriptEngine() |
JuelScriptEngine(ScriptEngineFactory scriptEngineFactory) |
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings() |
Object |
eval(Reader reader,
ScriptContext scriptContext) |
Object |
eval(String script,
ScriptContext scriptContext) |
ScriptEngineFactory |
getFactory() |
static void |
importFunctions(ScriptContext ctx,
String namespace,
Object obj) |
static void |
print(Object object) |
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
public JuelScriptEngine(ScriptEngineFactory scriptEngineFactory)
public JuelScriptEngine()
public Object eval(String script, ScriptContext scriptContext) throws ScriptException
ScriptException
public Object eval(Reader reader, ScriptContext scriptContext) throws ScriptException
ScriptException
public ScriptEngineFactory getFactory()
public Bindings createBindings()
public static void print(Object object)
public static void importFunctions(ScriptContext ctx, String namespace, Object obj)
Copyright © 2018. All rights reserved.