public class CosaScriptEngineFactory
extends java.lang.Object
implements javax.script.ScriptEngineFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENGINE_NAME |
static java.lang.String |
ENGINE_VERSION |
static java.lang.String[] |
FILE_EXTENSIONS |
static java.lang.String |
LANGUAGE_NAME |
static java.lang.String |
LANGUAGE_VERSION |
static java.lang.String[] |
MIME_TYPES |
static java.lang.String[] |
NAMES |
Constructor and Description |
---|
CosaScriptEngineFactory() |
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() |
java.lang.String |
getOutputStatement(java.lang.String toDisplay) |
java.lang.Object |
getParameter(java.lang.String key) |
java.lang.String |
getProgram(java.lang.String... statements) |
javax.script.ScriptEngine |
getScriptEngine() |
public static final java.lang.String ENGINE_NAME
public static final java.lang.String ENGINE_VERSION
public static final java.lang.String LANGUAGE_NAME
public static final java.lang.String LANGUAGE_VERSION
public static final java.lang.String[] NAMES
public static final java.lang.String[] FILE_EXTENSIONS
public static final java.lang.String[] MIME_TYPES
public java.lang.String getEngineName()
getEngineName
in interface javax.script.ScriptEngineFactory
public java.lang.String getEngineVersion()
getEngineVersion
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getExtensions()
getExtensions
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageName()
getLanguageName
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageVersion()
getLanguageVersion
in interface javax.script.ScriptEngineFactory
public java.lang.Object getParameter(java.lang.String key)
getParameter
in interface javax.script.ScriptEngineFactory
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.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