索引

A B C E F G I K P R S V W 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格

A

AbstractScriptEngine - com.script中的类
Provides a standard implementation for several of the variants of the eval method.
AbstractScriptEngine() - 类的构造器 com.script.AbstractScriptEngine
Creates a new instance of AbstractScriptEngine using a SimpleScriptContext as its default ScriptContext.
AbstractScriptEngine(Bindings) - 类的构造器 com.script.AbstractScriptEngine
Creates a new instance using the specified Bindings as the ENGINE_SCOPE Bindings in the protected context field.

B

Bindings - com.script中的接口
A mapping of key/value pairs, all of whose keys are Strings.

C

clear() - 类中的方法 com.script.SimpleBindings
com.script - 程序包 com.script
 
Compilable - com.script中的接口
The optional interface implemented by ScriptEngines whose methods compile scripts to a form that can be executed repeatedly without recompilation.
compile(Reader) - 接口中的方法 com.script.Compilable
Compiles the script (source read from Reader) for later execution.
compile(String) - 接口中的方法 com.script.Compilable
Compiles the script (source represented as a String) for later execution.
CompiledScript - com.script中的类
Extended by classes that store results of compilations.
CompiledScript() - 类的构造器 com.script.CompiledScript
Constructor for subclasses to call.
containsKey(Object) - 接口中的方法 com.script.Bindings
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - 类中的方法 com.script.SimpleBindings
Returns true if this map contains a mapping for the specified key.
containsValue(Object) - 类中的方法 com.script.SimpleBindings
context - 类中的变量 com.script.AbstractScriptEngine
The default ScriptContext of this AbstractScriptEngine.
createBindings() - 接口中的方法 com.script.ScriptEngine
Returns an uninitialized Bindings.

E

ENGINE_SCOPE - 接口中的静态变量 com.script.ScriptContext
EngineScope attributes are visible during the lifetime of a single ScriptEngine and a set of attributes is maintained for each engine.
engineScope - 类中的变量 com.script.SimpleScriptContext
This is the engine scope bindings.
entrySet() - 类中的方法 com.script.SimpleBindings
errorWriter - 类中的变量 com.script.SimpleScriptContext
This is the writer to be used to output errors from scripts.
eval() - 类中的方法 com.script.CompiledScript
Executes the program stored in the CompiledScript object.
eval(Bindings) - 类中的方法 com.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) - 类中的方法 com.script.CompiledScript
Executes the program stored in this CompiledScript object.
eval(Reader) - 类中的方法 com.script.AbstractScriptEngine
eval(Reader) calls the abstract eval(Reader, ScriptContext) passing the value of the context field.
eval(Reader) - 接口中的方法 com.script.ScriptEngine
Same as eval(String) except that the source of the script is provided as a Reader
eval(Reader, Bindings) - 类中的方法 com.script.AbstractScriptEngine
eval(Reader, Bindings) calls the abstract eval(Reader, ScriptContext) method, passing it a ScriptContext whose Reader, Writers and Bindings for scopes other that ENGINE_SCOPE are identical to those members of the protected context field.
eval(Reader, Bindings) - 接口中的方法 com.script.ScriptEngine
Same as eval(String, Bindings) except that the source of the script is provided as a Reader.
eval(Reader, ScriptContext) - 接口中的方法 com.script.ScriptEngine
Same as eval(String, ScriptContext) where the source of the script is read from a Reader.
eval(String) - 类中的方法 com.script.AbstractScriptEngine
Same as eval(Reader) except that the abstract eval(String, ScriptContext) is used.
eval(String) - 接口中的方法 com.script.ScriptEngine
Executes the specified script.
eval(String, Bindings) - 类中的方法 com.script.AbstractScriptEngine
Same as eval(Reader, Bindings) except that the abstract eval(String, ScriptContext) is used.
eval(String, Bindings) - 接口中的方法 com.script.ScriptEngine
Executes the script using the Bindings argument as the ENGINE_SCOPE Bindings of the ScriptEngine during the script execution.
eval(String, ScriptContext) - 接口中的方法 com.script.ScriptEngine
Causes the immediate execution of the script whose source is the String passed as the first argument.

F

FILENAME - 接口中的静态变量 com.script.ScriptEngine
Reserved key for a named value that is the name of the file being executed.

G

get(Object) - 接口中的方法 com.script.Bindings
Returns the value to which this map maps the specified key.
get(Object) - 类中的方法 com.script.SimpleBindings
Returns the value to which this map maps the specified key.
get(String) - 类中的方法 com.script.AbstractScriptEngine
Gets the value for the specified key in the ENGINE_SCOPE of the protected context field.
get(String) - 接口中的方法 com.script.ScriptEngine
Retrieves a value set in the state of this engine.
getAttribute(String) - 接口中的方法 com.script.ScriptContext
Retrieves the value of the attribute with the given name in the scope occurring earliest in the search order.
getAttribute(String) - 类中的方法 com.script.SimpleScriptContext
Retrieves the value of the attribute with the given name in the scope occurring earliest in the search order.
getAttribute(String, int) - 接口中的方法 com.script.ScriptContext
Gets the value of an attribute in a given scope.
getAttribute(String, int) - 类中的方法 com.script.SimpleScriptContext
Gets the value of an attribute in a given scope.
getAttributesScope(String) - 接口中的方法 com.script.ScriptContext
Get the lowest scope in which an attribute is defined.
getAttributesScope(String) - 类中的方法 com.script.SimpleScriptContext
Get the lowest scope in which an attribute is defined.
getBindings(int) - 类中的方法 com.script.AbstractScriptEngine
Returns the Bindings with the specified scope value in the protected context field.
getBindings(int) - 接口中的方法 com.script.ScriptContext
Gets the Bindings associated with the given scope in this ScriptContext.
getBindings(int) - 接口中的方法 com.script.ScriptEngine
Returns a scope of named values.
getBindings(int) - 类中的方法 com.script.SimpleScriptContext
Returns the value of the engineScope field if specified scope is ENGINE_SCOPE.
getColumnNumber() - 异常错误中的方法 com.script.ScriptException
Get the column number on which an error occurred.
getContext() - 类中的方法 com.script.AbstractScriptEngine
Returns the value of the protected context field.
getContext() - 接口中的方法 com.script.ScriptEngine
Returns the default ScriptContext of the ScriptEngine whose Bindings, Reader and Writers are used for script executions when no ScriptContext is specified.
getEngine() - 类中的方法 com.script.CompiledScript
Returns the ScriptEngine whose compile method created this CompiledScript.
getErrorWriter() - 接口中的方法 com.script.ScriptContext
Returns the Writer used to display error output.
getErrorWriter() - 类中的方法 com.script.SimpleScriptContext
Returns the Writer used to display error output.
getFileName() - 异常错误中的方法 com.script.ScriptException
Get the source of the script causing the error.
getInterface(Class<T>) - 接口中的方法 com.script.Invocable
Returns an implementation of an interface using functions compiled in the interpreter.
getInterface(Object, Class<T>) - 接口中的方法 com.script.Invocable
Returns an implementation of an interface using member functions of a scripting object compiled in the interpreter.
getLineNumber() - 异常错误中的方法 com.script.ScriptException
Get the line number on which an error occurred.
getMessage() - 异常错误中的方法 com.script.ScriptException
Returns a message containing the String passed to a constructor as well as line and column numbers and filename if any of these are known.
getReader() - 接口中的方法 com.script.ScriptContext
Returns a Reader to be used by the script to read input.
getReader() - 类中的方法 com.script.SimpleScriptContext
Returns a Reader to be used by the script to read input.
getScopes() - 接口中的方法 com.script.ScriptContext
Returns immutable List of all the valid values for scope in the ScriptContext.
getScopes() - 类中的方法 com.script.SimpleScriptContext
Returns immutable List of all the valid values for scope in the ScriptContext.
getScriptContext(Bindings) - 类中的方法 com.script.AbstractScriptEngine
Returns a SimpleScriptContext.
getWriter() - 接口中的方法 com.script.ScriptContext
Returns the Writer for scripts to use when displaying output.
getWriter() - 类中的方法 com.script.SimpleScriptContext
Returns the Writer for scripts to use when displaying output.
GLOBAL_SCOPE - 接口中的静态变量 com.script.ScriptContext
GlobalScope attributes are visible to all engines created by same ScriptEngineFactory.
globalScope - 类中的变量 com.script.SimpleScriptContext
This is the global scope bindings.

I

Invocable - com.script中的接口
The optional interface implemented by ScriptEngines whose methods allow the invocation of procedures in scripts that have previously been executed.
invokeFunction(String, Object...) - 接口中的方法 com.script.Invocable
Used to call top-level procedures and functions defined in scripts.
invokeMethod(Object, String, Object...) - 接口中的方法 com.script.Invocable
Calls a method on a script object compiled during a previous script execution, which is retained in the state of the ScriptEngine.
isEmpty() - 类中的方法 com.script.SimpleBindings

K

keySet() - 类中的方法 com.script.SimpleBindings

P

put(String, Object) - 类中的方法 com.script.AbstractScriptEngine
Sets the specified value with the specified key in the ENGINE_SCOPE Bindings of the protected context field.
put(String, Object) - 接口中的方法 com.script.Bindings
Set a named value.
put(String, Object) - 接口中的方法 com.script.ScriptEngine
Sets a key/value pair in the state of the ScriptEngine that may either create a Java Language Binding to be used in the execution of scripts or be used in some other way, depending on whether the key is reserved.
put(String, Object) - 类中的方法 com.script.SimpleBindings
Sets the specified key/value in the underlying map field.
putAll(Map<? extends String, ? extends Object>) - 接口中的方法 com.script.Bindings
Adds all the mappings in a given Map to this Bindings.
putAll(Map<? extends String, ? extends Object>) - 类中的方法 com.script.SimpleBindings
putAll is implemented using Map.putAll.

R

reader - 类中的变量 com.script.SimpleScriptContext
This is the reader to be used for input from scripts.
remove(Object) - 接口中的方法 com.script.Bindings
Removes the mapping for this key from this map if it is present (optional operation).
remove(Object) - 类中的方法 com.script.SimpleBindings
Removes the mapping for this key from this map if it is present (optional operation).
removeAttribute(String, int) - 接口中的方法 com.script.ScriptContext
Remove an attribute in a given scope.
removeAttribute(String, int) - 类中的方法 com.script.SimpleScriptContext
Remove an attribute in a given scope.

S

ScriptContext - com.script中的接口
The interface whose implementing classes are used to connect Script Engines with objects, such as scoped Bindings, in hosting applications.
ScriptEngine - com.script中的接口
ScriptEngine is the fundamental interface whose methods must be fully functional in every implementation of this specification.
ScriptException - com.script中的异常错误
The generic Exception class for the Scripting APIs.
ScriptException(Exception) - 异常错误的构造器 com.script.ScriptException
Creates a ScriptException wrapping an Exception thrown by an underlying interpreter.
ScriptException(String) - 异常错误的构造器 com.script.ScriptException
Creates a ScriptException with a String to be used in its message.
ScriptException(String, String, int) - 异常错误的构造器 com.script.ScriptException
Creates a ScriptException with message, filename and linenumber to be used in error messages.
ScriptException(String, String, int, int) - 异常错误的构造器 com.script.ScriptException
ScriptException constructor specifying message, filename, line number and column number.
setAttribute(String, Object, int) - 接口中的方法 com.script.ScriptContext
Sets the value of an attribute in a given scope.
setAttribute(String, Object, int) - 类中的方法 com.script.SimpleScriptContext
Sets the value of an attribute in a given scope.
setBindings(Bindings, int) - 类中的方法 com.script.AbstractScriptEngine
Sets the Bindings with the corresponding scope value in the context field.
setBindings(Bindings, int) - 接口中的方法 com.script.ScriptContext
Associates a Bindings instance with a particular scope in this ScriptContext.
setBindings(Bindings, int) - 接口中的方法 com.script.ScriptEngine
Sets a scope of named values to be used by scripts.
setBindings(Bindings, int) - 类中的方法 com.script.SimpleScriptContext
Sets a Bindings of attributes for the given scope.
setContext(ScriptContext) - 类中的方法 com.script.AbstractScriptEngine
Sets the value of the protected context field to the specified ScriptContext.
setContext(ScriptContext) - 接口中的方法 com.script.ScriptEngine
Sets the default ScriptContext of the ScriptEngine whose Bindings, Reader and Writers are used for script executions when no ScriptContext is specified.
setErrorWriter(Writer) - 接口中的方法 com.script.ScriptContext
Sets the Writer used to display error output.
setErrorWriter(Writer) - 类中的方法 com.script.SimpleScriptContext
Sets the Writer used to display error output.
setReader(Reader) - 接口中的方法 com.script.ScriptContext
Sets the Reader for scripts to read input .
setReader(Reader) - 类中的方法 com.script.SimpleScriptContext
Sets the Reader for scripts to read input .
setWriter(Writer) - 接口中的方法 com.script.ScriptContext
Sets the Writer for scripts to use when displaying output.
setWriter(Writer) - 类中的方法 com.script.SimpleScriptContext
Sets the Writer for scripts to use when displaying output.
SimpleBindings - com.script中的类
A simple implementation of Bindings backed by a HashMap or some other specified Map.
SimpleBindings() - 类的构造器 com.script.SimpleBindings
Default constructor uses a HashMap.
SimpleBindings(Map<String, Object>) - 类的构造器 com.script.SimpleBindings
Constructor uses an existing Map to store the values.
SimpleScriptContext - com.script中的类
Simple implementation of ScriptContext.
SimpleScriptContext() - 类的构造器 com.script.SimpleScriptContext
Create a SimpleScriptContext.
size() - 类中的方法 com.script.SimpleBindings

V

values() - 类中的方法 com.script.SimpleBindings

W

writer - 类中的变量 com.script.SimpleScriptContext
This is the writer to be used to output from scripts.
A B C E F G I K P R S V W 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格