public abstract class AbstractScriptEngineFactory
extends java.lang.Object
implements javax.script.ScriptEngineFactory
Modifier and Type | Class and Description |
---|---|
static class |
AbstractScriptEngineFactory.BindingsEnvironment
A Environment that proxies lookup in global and engine Bindings.
|
static class |
AbstractScriptEngineFactory.BindingsLocation
A Location object that proxies lookup in global and engine Bindings.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
names |
Modifier | Constructor and Description |
---|---|
protected |
AbstractScriptEngineFactory(Language language) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEngineName() |
java.lang.String |
getEngineVersion() |
java.util.List<java.lang.String> |
getExtensions() |
java.lang.String |
getLanguageName() |
java.lang.String |
getLanguageVersion() |
java.lang.String |
getMethodCallSyntax(java.lang.String obj,
java.lang.String m,
java.lang.String... args) |
java.util.List<java.lang.String> |
getMimeTypes() |
java.util.List<java.lang.String> |
getNames() |
protected void |
getNames(java.util.List<java.lang.String> names) |
java.lang.String |
getOutputStatement(java.lang.String toDisplay) |
java.lang.String |
getParameter(java.lang.String key) |
java.lang.String |
getProgram(java.lang.String... statements) |
javax.script.ScriptEngine |
getScriptEngine() |
protected AbstractScriptEngineFactory(Language language)
public java.lang.String getEngineName()
getEngineName
in interface javax.script.ScriptEngineFactory
public java.lang.String getEngineVersion()
getEngineVersion
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageVersion()
getLanguageVersion
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageName()
getLanguageName
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getExtensions()
getExtensions
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getMimeTypes()
getMimeTypes
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getNames()
getNames
in interface javax.script.ScriptEngineFactory
protected void getNames(java.util.List<java.lang.String> names)
public java.lang.String getMethodCallSyntax(java.lang.String obj, java.lang.String m, java.lang.String... args)
getMethodCallSyntax
in interface javax.script.ScriptEngineFactory
public java.lang.String getOutputStatement(java.lang.String toDisplay)
getOutputStatement
in interface javax.script.ScriptEngineFactory
public java.lang.String getProgram(java.lang.String... statements)
getProgram
in interface javax.script.ScriptEngineFactory
public javax.script.ScriptEngine getScriptEngine()
getScriptEngine
in interface javax.script.ScriptEngineFactory
public java.lang.String getParameter(java.lang.String key)
getParameter
in interface javax.script.ScriptEngineFactory