A B C E F G I J K L N P R S V W

A

AbstractScriptEngine - Class in javax.script
Provides a standard implementation for various versions of the eval() methods.
AbstractScriptEngine() - Constructor for class javax.script.AbstractScriptEngine
Constructs a ScriptEngine using an uninitialized SimpleScriptContext.
AbstractScriptEngine(Bindings) - Constructor for class javax.script.AbstractScriptEngine
Constructs a ScriptEngine using the specified Bindings as its ENGINE_SCOPE.
ARGV - Static variable in interface javax.script.ScriptEngine
Reserved key associated with an object array which is used to pass set of positional parameters to the ScriptEngines.

B

Bindings - Interface in javax.script
A mapping of key/value pairs, all of whose keys are non-empty Strings.

C

clear() - Method in class javax.script.SimpleBindings
Compilable - Interface in javax.script
Optional interface implemented by script engines which can compile scripts to a form that can be executed repeatedly.
compile(String) - Method in interface javax.script.Compilable
Compiles the script (sourced from the String) for later execution.
compile(Reader) - Method in interface javax.script.Compilable
Compiles the script (source is read from the Reader) for later execution.
CompiledScript - Class in javax.script
Base for classes that store the results of compilations.
CompiledScript() - Constructor for class javax.script.CompiledScript
 
containsKey(Object) - Method in interface javax.script.Bindings
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class javax.script.SimpleBindings
Returns true if this map contains a mapping for the specified key.
containsValue(Object) - Method in class javax.script.SimpleBindings
context - Variable in class javax.script.AbstractScriptEngine
The default ScriptContext of this AbstractScriptEngine
createBindings() - Method in interface javax.script.ScriptEngine
Retrieves an uninitialized Bindings which can be used as the scope of the ScriptEngine.

E

ENGINE - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the name of the Java ScriptEngine
ENGINE_SCOPE - Static variable in interface javax.script.ScriptContext
defines an integer for the scope, ENGINE_SCOPE
ENGINE_VERSION - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the version of the Java ScriptEngine
engineScope - Variable in class javax.script.SimpleScriptContext
This is the scope bindings for ENGINE_SCOPE .
entrySet() - Method in class javax.script.SimpleBindings
errorWriter - Variable in class javax.script.SimpleScriptContext
The writer to be used for displaying error output from scripts
eval(Reader) - Method in class javax.script.AbstractScriptEngine
Evaluates a script obtained using the specified reader as the script source.
eval(Reader, Bindings) - Method in class javax.script.AbstractScriptEngine
Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
eval(String) - Method in class javax.script.AbstractScriptEngine
Evaluates a script contained in a String and returns the resultant object.
eval(String, Bindings) - Method in class javax.script.AbstractScriptEngine
Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
eval() - Method in class javax.script.CompiledScript
Executes the program stored in the CompiledScript object.
eval(Bindings) - Method in class javax.script.CompiledScript
Executes the program stored in the CompiledScript object using the supplied Bindings of attributes as the ENGINE_SCOPE of the associated ScriptEngine during script execution.
eval(ScriptContext) - Method in class javax.script.CompiledScript
Evaluates the compiled script using the specified ScriptContext.
eval(Reader) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using the specified reader as the script source.
eval(Reader, Bindings) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
eval(Reader, ScriptContext) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using the specified reader as the script source and using the bindings in the specifed ScriptContext.
eval(String) - Method in interface javax.script.ScriptEngine
Evaluates a script contained in a String and returns the resultant object.
eval(String, Bindings) - Method in interface javax.script.ScriptEngine
Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
eval(String, ScriptContext) - Method in interface javax.script.ScriptEngine
Evaluates a script using the bindings in the specifed ScriptContext.

F

FILENAME - Static variable in interface javax.script.ScriptEngine
Reserved key associated with name of the file which contains the source of the script.

G

get(String) - Method in class javax.script.AbstractScriptEngine
Retrieves the value which is associated with the specified key in the state of the ScriptEngine.
get(Object) - Method in interface javax.script.Bindings
Returns the value to which this map maps the specified key.
get(String) - Method in interface javax.script.ScriptEngine
Retrieves the value which is associated with the specified key in the state of the ScriptEngine.
get(String) - Method in class javax.script.ScriptEngineManager
Retrieves the associated value for the spefied key in the GLOBAL_SCOPE
get(Object) - Method in class javax.script.SimpleBindings
Returns the value to which this map maps the specified key.
getAttribute(String) - Method in interface javax.script.ScriptContext
Retrieves the value of the getAttribute(String, int) for the lowest scope in which it returns a non-null value.
getAttribute(String, int) - Method in interface javax.script.ScriptContext
Retrieves the value of an attribute in the specified scope.
getAttribute(String) - Method in class javax.script.SimpleScriptContext
Retrieves the value of the getAttribute(String, int) for the lowest scope in which it returns a non-null value.
getAttribute(String, int) - Method in class javax.script.SimpleScriptContext
Retrieves the value of an attribute in the specified scope.
getAttributesScope(String) - Method in interface javax.script.ScriptContext
Retrieves the lowest value of the scope for which the attribute is defined.
getAttributesScope(String) - Method in class javax.script.SimpleScriptContext
Retrieves the lowest value of the scope for which the attribute is defined.
getBindings(int) - Method in class javax.script.AbstractScriptEngine
Retrieves a reference to the associated bindings for the specified scope.
getBindings(int) - Method in interface javax.script.ScriptContext
Retrieves the Bindings instance associated with the given scope.
getBindings(int) - Method in interface javax.script.ScriptEngine
Retrieves a reference to the associated bindings for the specified scope.
getBindings() - Method in class javax.script.ScriptEngineManager
Retrieves the bindings corresponds to GLOBAL_SCOPE.
getBindings(int) - Method in class javax.script.SimpleScriptContext
Retrieves the Bindings instance associated with the given scope.
getColumnNumber() - Method in exception javax.script.ScriptException
Retrieves the column number of the script where the error has occured.
getContext() - Method in class javax.script.AbstractScriptEngine
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
getContext() - Method in interface javax.script.ScriptEngine
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
getEngine() - Method in class javax.script.CompiledScript
Retrieves a reference to the ScriptEngine whose methods created this CompiledScript object.
getEngineByExtension(String) - Method in class javax.script.ScriptEngineManager
Retrieves a new instance of a ScriptingEngine for the specified extension of a script file.
getEngineByMimeType(String) - Method in class javax.script.ScriptEngineManager
Retrieves new instance the ScriptingEngine for a specifed MIME type.
getEngineByName(String) - Method in class javax.script.ScriptEngineManager
Retrieves a new instance of a ScriptEngine the specified descriptive name.
getEngineFactories() - Method in class javax.script.ScriptEngineManager
Retrieves an array of instances of ScriptEngineFactory class which are found by the discovery mechanism.
getEngineName() - Method in interface javax.script.ScriptEngineFactory
Retrieves the full name of the ScriptEngine.
getEngineVersion() - Method in interface javax.script.ScriptEngineFactory
Retrieves the version of the Script Engine.
getErrorWriter() - Method in interface javax.script.ScriptContext
Returns the Writer to be used to display error output.
getErrorWriter() - Method in class javax.script.SimpleScriptContext
Returns the Writer to be used to display error output.
getExtensions() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of Strings which are file extensions typically used for files containing scripts written in the language supported by the ScriptEngine.
getFactory() - Method in interface javax.script.ScriptEngine
Returns a ScriptEngineFactory for the class to which this ScriptEngine belongs.
getFileName() - Method in exception javax.script.ScriptException
Retrieves the file name in which the script is contained.
getInterface(Class) - Method in interface javax.script.Invocable
Retrieves an instance of a java class whose methods are implemented using procedures in script which are in the intermediate code repository in the underlying interpreter.
getInterface(Object, Class) - Method in interface javax.script.Invocable
Retrieves an instance of a java class whose methods are implemented using procedures in script which are in the intermediate code repository in the underlying interpreter.
getLanguageName() - Method in interface javax.script.ScriptEngineFactory
Retrieves the name of the language supported by the ScriptEngine.
getLanguageVersion() - Method in interface javax.script.ScriptEngineFactory
Retrieves the version of the language supported by the ScriptEngine.
getLineNumber() - Method in exception javax.script.ScriptException
Retrieves the line number of the script where the error has occured.
getMessage() - Method in exception javax.script.ScriptException
Retrieves a String describing the cause of error.
getMethodCallSyntax(String, String, String[]) - Method in interface javax.script.ScriptEngineFactory
Returns a String which can be used to invoke a method of a Java object using the syntax of the supported scripting language.
getMimeTypes() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of Strings containing MIME types describing the content which can be processed using the Script Engine.
getNames() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of short descriptive names such as {"javascript", "rhino"} describing the language supported by the Script Engine.
getOutputStatement(String) - Method in interface javax.script.ScriptEngineFactory
Returns a String that can be used as a statement to display the specified String using the syntax of the supported scripting language.
getParameter(String) - Method in interface javax.script.ScriptEngineFactory
Retrieves an associated value for the specified key.
getProgram(String[]) - Method in interface javax.script.ScriptEngineFactory
Returns A valid scripting language executable progam with given statements.
getReader() - Method in interface javax.script.ScriptContext
Returns a Reader to be used by the script to read input.
getReader() - Method in class javax.script.SimpleScriptContext
Returns a Reader to be used by the script to read input.
getScopes() - Method in interface javax.script.ScriptContext
Returns an immutable List of all the valid values for scope in the ScriptContext.
getScopes() - Method in class javax.script.SimpleScriptContext
Returns an immutable List of all the valid values for scope in the ScriptContext.
getScriptContext(Bindings) - Method in class javax.script.AbstractScriptEngine
Returns a SimpleScriptContext which: uses the specified Bindings as the ScriptEngine#ENGINE_SCOPE has the same GLOBAL_SCOPE Bindings as the current context uses the same Reader, Writer and Error Writer as the current context
getScriptEngine() - Method in interface javax.script.ScriptEngineFactory
Retrieves an instance of the associated ScriptEngine.
getWriter() - Method in interface javax.script.ScriptContext
Retrieves an instance of java.io.Writer which can be used by scripts to display their output.
getWriter() - Method in class javax.script.SimpleScriptContext
Retrieves an instance of java.io.Writer which can be used by scripts to display their output.
GLOBAL_SCOPE - Static variable in interface javax.script.ScriptContext
defines an integer for the scope, GLOBAL_SCOPE
globalScope - Variable in class javax.script.SimpleScriptContext
This is the scope bindings for GLOBAL_SCOPE.

I

Invocable - Interface in javax.script
Optional interface implemented by ScriptEngines which allow the invocation of procedures in scripts that have previously been executed.
invokeFunction(String, Object[]) - Method in interface javax.script.Invocable
Invokes a scripting procedure with the given name using the array of objects as its arguments set.
invokeMethod(Object, String, Object[]) - Method in interface javax.script.Invocable
Invokes a procedure on an object which already defined in the script using the array of objects as its arguments set.
isEmpty() - Method in class javax.script.SimpleBindings

J

javax.script - package javax.script
Apache BSF3 - an implementation of JSR-223 (javax.script).

K

keySet() - Method in class javax.script.SimpleBindings

L

LANGUAGE - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the name of the supported scripting language
LANGUAGE_VERSION - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the version of the supported scripting language

N

NAME - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the named value which identifies the short name of the supported language

P

put(String, Object) - Method in class javax.script.AbstractScriptEngine
Associates a key and a value in the ScriptEngine ENGINE_SCOPE bindings.
put(String, Object) - Method in interface javax.script.Bindings
Associates the specified value with the specified key in a java.util.Map.
put(String, Object) - Method in interface javax.script.ScriptEngine
Associates a key and a value in the ScriptEngine ENGINE_SCOPE bindings.
put(String, Object) - Method in class javax.script.ScriptEngineManager
Associates the specifed value with the specified key in GLOBAL_SCOPE.
put(String, Object) - Method in class javax.script.SimpleBindings
Associates the specified value with the specified key in a java.util.Map.
put(Object, Object) - Method in class javax.script.SimpleBindings
Deprecated. use put(String, Object) instead
putAll(Map) - Method in interface javax.script.Bindings
Copies all of the mappings from the specified map to this map.
putAll(Map) - Method in class javax.script.SimpleBindings
Copies all of the mappings from the specified map to this map.

R

reader - Variable in class javax.script.SimpleScriptContext
The reader to be used for input from scripts.
registerEngineExtension(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Register a extension with a ScriptEngineFactory.
registerEngineMimeType(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Registers a MIME type with a ScriptEngineFactory.
registerEngineName(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Registers descriptive name with a ScriptEngineFactory.
remove(Object) - Method in interface javax.script.Bindings
Removes the mapping for this key from this map if it is present (optional operation).
remove(Object) - Method in class javax.script.SimpleBindings
Removes the mapping for this key from this map if it is present (optional operation).
removeAttribute(String, int) - Method in interface javax.script.ScriptContext
Removes the given attribute from the specified scope.
removeAttribute(String, int) - Method in class javax.script.SimpleScriptContext
Removes the given attribute from the specified scope.

S

ScriptContext - Interface in javax.script
See Javadoc of Java Scripting API
ScriptEngine - Interface in javax.script
See Javadoc of Java Scripting API
ScriptEngineFactory - Interface in javax.script
See Javadoc of Java Scripting API
ScriptEngineManager - Class in javax.script
See Javadoc of Java Scripting API
ScriptEngineManager() - Constructor for class javax.script.ScriptEngineManager
Constructs a ScriptEngineManager and initializes it using the current context classloader.
ScriptEngineManager(ClassLoader) - Constructor for class javax.script.ScriptEngineManager
Constructs a ScriptEngineManager and initializes it using the specified classloader.
ScriptException - Exception in javax.script
Generic Exception class for the Scripting APIs.
ScriptException(Exception) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the specified cause.
ScriptException(String) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the specified detailed message.
ScriptException(String, String, int) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the spcified detailed message of cause, the file name of the source of script and the line number of the script where the error has occured.
ScriptException(String, String, int, int) - Constructor for exception javax.script.ScriptException
Constructs a new exception using the detailed message of cause, file name which contains the script, line number and column number in which the error has occured.
setAttribute(String, Object, int) - Method in interface javax.script.ScriptContext
Associates a specified value with the specifed name in the specified scope.
setAttribute(String, Object, int) - Method in class javax.script.SimpleScriptContext
Associates a specified value with the specifed name in the specified scope.
setBindings(Bindings, int) - Method in class javax.script.AbstractScriptEngine
Associates the specified bindings with the specified scope.
setBindings(Bindings, int) - Method in interface javax.script.ScriptContext
Associates the specified Bindings with the specified scope.
setBindings(Bindings, int) - Method in interface javax.script.ScriptEngine
Associates the specified bindings with the specified scope.
setBindings(Bindings) - Method in class javax.script.ScriptEngineManager
Sets the GLOBAL_SCOPE value to the specified bindings.
setBindings(Bindings, int) - Method in class javax.script.SimpleScriptContext
Associates the specified Bindings with the specified scope.
setContext(ScriptContext) - Method in class javax.script.AbstractScriptEngine
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
setContext(ScriptContext) - Method in interface javax.script.ScriptEngine
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
setErrorWriter(Writer) - Method in interface javax.script.ScriptContext
Sets the Writer for scripts to use when displaying error output.
setErrorWriter(Writer) - Method in class javax.script.SimpleScriptContext
Sets the Writer for scripts to use when displaying error output.
setReader(Reader) - Method in interface javax.script.ScriptContext
Sets the Reader to be used by the script to read input.
setReader(Reader) - Method in class javax.script.SimpleScriptContext
Sets the Reader to be used by the script to read input.
setWriter(Writer) - Method in interface javax.script.ScriptContext
Sets the Writer for scripts to use when displaying output.
setWriter(Writer) - Method in class javax.script.SimpleScriptContext
Sets the Writer for scripts to use when displaying output.
SimpleBindings - Class in javax.script
A simple implementation of Bindings, backed by a HashMap (or other Map).
SimpleBindings() - Constructor for class javax.script.SimpleBindings
Constructs a SimpleBindings.
SimpleBindings(Map) - Constructor for class javax.script.SimpleBindings
Constructs a SimpleBindings and initializes it using a specified map.
SimpleScriptContext - Class in javax.script
A simple implementation of ScriptContext.
SimpleScriptContext() - Constructor for class javax.script.SimpleScriptContext
Create a new instance, setting the Reader and Writers from the corresponding System streams.
size() - Method in class javax.script.SimpleBindings

V

values() - Method in class javax.script.SimpleBindings

W

writer - Variable in class javax.script.SimpleScriptContext
The writer to be used for displaying output from scripts

A B C E F G I J K L N P R S V W

Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.