Uses of Interface javax.script.Bindings

Uses in package javax.script

Classes implementing javax.script.Bindings

class
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

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
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
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
Retrieves an uninitailized namespace which can be used as the scope of the ScriptEngine.
Bindings
Retrieves the namespace corresponds to GLOBAL_SCOPE.
Bindings
Retrieves a reference to the associated namespace for the specified level of scope.
Bindings
Retrieves the Namespace instance associated with the gieve scope.
Bindings
Retrieves a reference to the associated namespace for the specified level of scope.
Bindings
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