| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getEngineName()
Implements javax. Returns the full name of the |
| public String | getEngineVersion()
Implements javax. Returns the version of the |
| public List | getExtensions()
Implements javax. Returns an immutable list of filename extensions, which generally identify scripts
written in the language supported by this |
| public String | getLanguageName()
Implements javax. Returns the name of the scripting language supported by this
|
| public String | getLanguageVersion()
Implements javax. Returns the version of the scripting language supported by this
|
| public String | getMethodCallSyntax(String
The name representing the object whose method is to be invoked. The
name is the one used to create bindings using the obj, String put method of
ScriptEngine, the put method of an ENGINE_SCOPE
Bindings,or the setAttribute method
of ScriptContext. The identifier used in scripts may be a decorated form of the
specified one.The name of the method to invoke. m, String... names of the arguments in the method call. args)Implements javax. Returns a String which can be used to invoke a method of a Java object using the syntax of the supported scripting language. |
| public List | getMimeTypes()
Implements javax. Returns an immutable list of mimetypes, associated with scripts that can be executed by the engine. |
| public List | getNames()
Implements javax. Returns an immutable list of short names for the |
| public String | getOutputStatement(String
The String to be displayed by the returned statement. toDisplay)Implements javax. Returns a String that can be used as a statement to display the specified String using the syntax of the supported scripting language. |
| public Object | getParameter(String
The name of the parameter key)Implements javax. Returns the value of an attribute whose meaning may be implementation-specific. |
| public String | getProgram(String...
The statements to be executed. May be return values of
calls to the statements)getMethodCallSyntax and getOutputStatement methods.Implements javax. Returns a valid scripting language executable program with given statements. |
| public ScriptEngine | getScriptEngine()
Implements javax. Returns an instance of the |
| PyScriptEngineFactory | back to summary |
|---|---|
| public PyScriptEngineFactory() | |
| getEngineName | back to summary |
|---|---|
| public String getEngineName() Implements javax. Doc from javax. Returns the full name of the
| |
| getEngineVersion | back to summary |
|---|---|
| public String getEngineVersion() Implements javax. Doc from javax. Returns the version of the
| |
| getExtensions | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Returns an immutable list of filename extensions, which generally identify scripts
written in the language supported by this | |
| getLanguageName | back to summary |
|---|---|
| public String getLanguageName() Implements javax. Doc from javax. Returns the name of the scripting language supported by this
| |
| getLanguageVersion | back to summary |
|---|---|
| public String getLanguageVersion() Implements javax. Doc from javax. Returns the version of the scripting language supported by this
| |
| getMethodCallSyntax | back to summary |
|---|---|
| public String getMethodCallSyntax(String obj, String m, String... args) Implements javax. Doc from javax. Returns a String which can be used to invoke a method of a Java object using the syntax of the supported scripting language. For instance, an implementation for a Javascript engine might be;
The String used to invoke the method in the syntax of the scripting language. | |
| getMimeTypes | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Returns an immutable list of mimetypes, associated with scripts that
can be executed by the engine. The list is used by the
| |
| getNames | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Returns an immutable list of short names for the | |
| getOutputStatement | back to summary |
|---|---|
| public String getOutputStatement(String toDisplay) Implements javax. Doc from javax. Returns a String that can be used as a statement to display the specified String using the syntax of the supported scripting language. For instance, the implementation for a Perl engine might be;
| |
| getParameter | back to summary |
|---|---|
| public Object getParameter(String key) Implements javax. Doc from javax. Returns the value of an attribute whose meaning may be implementation-specific. Keys for which the value is defined in all implementations are:
The values for these keys are the Strings returned by
Implementations may define implementation-specific keys. | |
| getProgram | back to summary |
|---|---|
| public String getProgram(String... statements) Implements javax. Doc from javax. Returns a valid scripting language executable program with given statements. For instance an implementation for a PHP engine might be:
| |
| getScriptEngine | back to summary |
|---|---|
| public ScriptEngine getScriptEngine() Implements javax. Doc from javax. Returns an instance of the
| |