Uses of Interface
javax.script.Bindings

Packages that use Bindings
javax.script Apache BSF3 - an implementation of JSR-223 (javax.script). 
 

Uses of Bindings in javax.script
 

Classes in javax.script that implement Bindings
 class SimpleBindings
          A simple implementation of Bindings, backed by a HashMap (or other Map).
 

Fields in javax.script declared as Bindings
protected  Bindings SimpleScriptContext.engineScope
          This is the scope bindings for ENGINE_SCOPE .
protected  Bindings SimpleScriptContext.globalScope
          This is the scope bindings for GLOBAL_SCOPE.
 

Methods in javax.script that return Bindings
 Bindings ScriptEngine.createBindings()
          Retrieves an uninitialized Bindings 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 Bindings instance associated with the given scope.
 Bindings ScriptEngine.getBindings(int scope)
          Retrieves a reference to the associated bindings for the specified scope.
 Bindings ScriptContext.getBindings(int scope)
          Retrieves the Bindings instance associated with the given scope.
 Bindings AbstractScriptEngine.getBindings(int scope)
          Retrieves a reference to the associated bindings for the specified scope.
 

Methods in javax.script with parameters of type Bindings
 Object CompiledScript.eval(Bindings bindings)
          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.
 Object ScriptEngine.eval(Reader reader, Bindings bindings)
          Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
 Object AbstractScriptEngine.eval(Reader reader, Bindings bindings)
          Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
 Object ScriptEngine.eval(String script, Bindings bindings)
          Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
 Object AbstractScriptEngine.eval(String script, Bindings bindings)
          Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
protected  ScriptContext AbstractScriptEngine.getScriptContext(Bindings bindings)
          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
 void ScriptEngineManager.setBindings(Bindings bindings)
          Sets the GLOBAL_SCOPE value to the specified bindings.
 void SimpleScriptContext.setBindings(Bindings bindings, int scope)
          Associates the specified Bindings with the specified scope.
 void ScriptEngine.setBindings(Bindings bindings, int scope)
          Associates the specified bindings with the specified scope.
 void ScriptContext.setBindings(Bindings bindings, int scope)
          Associates the specified Bindings with the specified scope.
 void AbstractScriptEngine.setBindings(Bindings bindings, int scope)
          Associates the specified bindings with the specified scope.
 

Constructors in javax.script with parameters of type Bindings
AbstractScriptEngine(Bindings bindings)
          Constructs a ScriptEngine using the specified Bindings as its ENGINE_SCOPE.
 



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