# Uses of Interface javax.script.Bindings

## Uses in package javax.script

### Classes implementing javax.script.Bindings

class | SimpleBindings SimpleNamespace is an implementation of Namespace using an instance of java.util.HashMap or another Map passed in a constructor to store and expose key-pair values.

### Constructors with parameter type javax.script.Bindings

AbstractScriptEngine.AbstractScriptEngine(Bindings namespace) Constructs a ScriptEngine using the specified namespace as its ENGINE_SCOPE.

### Methods with parameter type javax.script.Bindings

Object | AbstractScriptEngine.eval(Reader reader, Bindings nameSpace) Evaluates a piece of scripts obtained using a reader as the script source and using the specified namespace as the SCRIPT_SCOPE.
Object | ScriptEngine.eval(Reader reader, Bindings namespace) Evaluates a piece of scripts obtained using a reader as the script source and using the specified namespace as the SCRIPT_SCOPE.
Object | AbstractScriptEngine.eval(String script, Bindings nameSpace) Evaluates a piece of script using the specified namespace as its SCRIPT_SCOPE.
Object | ScriptEngine.eval(String script, Bindings namespace) Evaluates a piece of script using the specified namespace as the SCRIPT_SCOPE.
Object | CompiledScript.eval(Bindings namespace) Re-evaluates the pre-compiled script using the specified namespace as the SCRIPT_SCOPE and using ENGINE_SCOPE, GLOBAL_SCOPE of the associated ScriptEngine.
void | ScriptEngineManager.setBindings(Bindings namespace) Sets the GLOBAL_SCOPE value to the specified namespace.
void | AbstractScriptEngine.setBindings(Bindings namespace, int scope) Associates a namespace with a specified level of scope.
void | ScriptContext.setBindings(Bindings namespace, int scope) Associates the specified namespace with the specified scope.
void | ScriptEngine.setBindings(Bindings namespace, int scope) Associates the specified namespace with the specified level of scope.
void | SimpleScriptContext.setBindings(Bindings namespace, int scope) Associates the specified namespace with specified level of scope.

### Methods with return type javax.script.Bindings

Bindings | ScriptEngine.createBindings() Retrieves an uninitailized namespace which can be used as the scope of the ScriptEngine.
Bindings | ScriptEngineManager.getBindings() Retrieves the namespace corresponds to GLOBAL_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.
Bindings | SimpleScriptContext.getBindings(int scope) Retrieves the Namespace instance associated with the specified level of scope.

## Uses in package php.java.script

### Methods with return type javax.script.Bindings

Bindings | PhpScriptEngine.createBindings()