public class ScriptEngineFactory extends Object implements ScriptEngineFactory
Constructor and Description |
---|
ScriptEngineFactory()
The constructor reads the configuration and fills the constants that are
requested by the
ScriptEngineManager . |
Modifier and Type | Method and Description |
---|---|
String |
getEngineName() |
String |
getEngineVersion() |
List<String> |
getExtensions() |
Bindings |
getGlobalScopeBinding() |
String |
getLanguageName() |
String |
getLanguageVersion() |
String |
getMethodCallSyntax(String obj,
String m,
String... args) |
List<String> |
getMimeTypes() |
List<String> |
getNames() |
String |
getOutputStatement(String toDisplay) |
Object |
getParameter(String key) |
String |
getProgram(String... statements) |
ScriptEngine |
getScriptEngine() |
void |
setGlobalScopeBinding(Bindings globalScopeBinding) |
public ScriptEngineFactory()
ScriptEngineManager
.public Bindings getGlobalScopeBinding()
public void setGlobalScopeBinding(Bindings globalScopeBinding)
globalScopeBinding
- the globalScopeBinding to setpublic String getEngineName()
getEngineName
in interface ScriptEngineFactory
public String getEngineVersion()
getEngineVersion
in interface ScriptEngineFactory
public List<String> getExtensions()
getExtensions
in interface ScriptEngineFactory
public List<String> getMimeTypes()
getMimeTypes
in interface ScriptEngineFactory
public List<String> getNames()
getNames
in interface ScriptEngineFactory
public String getLanguageName()
getLanguageName
in interface ScriptEngineFactory
public String getLanguageVersion()
getLanguageVersion
in interface ScriptEngineFactory
public Object getParameter(String key)
getParameter
in interface ScriptEngineFactory
public String getMethodCallSyntax(String obj, String m, String... args)
getMethodCallSyntax
in interface ScriptEngineFactory
public String getOutputStatement(String toDisplay)
getOutputStatement
in interface ScriptEngineFactory
public String getProgram(String... statements)
getProgram
in interface ScriptEngineFactory
public ScriptEngine getScriptEngine()
getScriptEngine
in interface ScriptEngineFactory
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.