|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Bindings | |
---|---|
javax.script |
Uses of Bindings in javax.script |
---|
Classes in javax.script that implement Bindings | |
---|---|
class |
SimpleBindings
See Javadoc of Java Scripting API |
Fields in javax.script declared as Bindings | |
---|---|
protected Bindings |
SimpleScriptContext.engineScope
namespace of the scope of level ENGINE_SCOPE |
protected Bindings |
ScriptEngineManager.globalscope
Stores the namespace associated with GLOBAL_SCOPE |
protected Bindings |
SimpleScriptContext.globalScope
namespace of the scope of level GLOBAL_SCOPE |
Methods in javax.script that return Bindings | |
---|---|
Bindings |
ScriptEngine.createBindings()
Retrieves an uninitailized namespace which can be used as the scope of the ScriptEngine. |
Bindings |
ScriptEngineManager.getBindings()
Retrieves the bindings corresponds to GLOBAL_SCOPE. |
Bindings |
SimpleScriptContext.getBindings(int scope)
Retrieves the Namespace instance associated with the specified level of scope. |
Bindings |
AbstractScriptEngine.getBindings(int scope)
Retrieves a reference to the associated namespace for the specified level of scope. |
Bindings |
ScriptContext.getBindings(int scope)
Retrieves the Namespace instance associated with the gieve scope. |
Bindings |
ScriptEngine.getBindings(int scope)
Retrieves a reference to the associated namespace for the specified level of scope. |
Methods in javax.script with parameters of type Bindings | |
---|---|
java.lang.Object |
CompiledScript.eval(Bindings bindings)
Re-evaluates the pre-compiled script using the specified namespace as the SCRIPT_SCOPE and using ENGINE_SCOPE, GLOBAL_SCOPE of the associated ScriptEngine. |
java.lang.Object |
AbstractScriptEngine.eval(java.io.Reader reader,
Bindings bindings)
Evaluates a piece of scripts obtained using a reader as the script source and using the specified namespace as the SCRIPT_SCOPE. |
java.lang.Object |
ScriptEngine.eval(java.io.Reader reader,
Bindings bindings)
Evaluates a piece of scripts obtained using a reader as the script source and using the specified namespace as the SCRIPT_SCOPE. |
java.lang.Object |
AbstractScriptEngine.eval(java.lang.String script,
Bindings nameSpace)
Evaluates a piece of script using the specified namespace as its SCRIPT_SCOPE. |
java.lang.Object |
ScriptEngine.eval(java.lang.String script,
Bindings bindings)
Evaluates a piece of script using the specified namespace as the SCRIPT_SCOPE. |
protected ScriptContext |
AbstractScriptEngine.getScriptContext(Bindings bindings)
Retrieves an instance of ScriptContext with namespaces associated with all the level of scopes and the specified namespace associated with SCRIPT_SCOPE. |
void |
ScriptEngineManager.setBindings(Bindings bindings)
Sets the GLOBAL_SCOPE value to the specified namespace. |
void |
SimpleScriptContext.setBindings(Bindings namespace,
int scope)
Associates the specified namespace with specified level of scope. |
void |
AbstractScriptEngine.setBindings(Bindings bindings,
int scope)
Associates a namespace with a specified level of scope. |
void |
ScriptContext.setBindings(Bindings bindings,
int scope)
Associates the specified namespace with the specified scope. |
void |
ScriptEngine.setBindings(Bindings bindings,
int scope)
Associates the specified namespace with the specified level of scope. |
Constructors in javax.script with parameters of type Bindings | |
---|---|
AbstractScriptEngine(Bindings bindings)
Constructs a ScriptEngine using the specified namespace as its ENGINE_SCOPE. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |