| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScriptContext | |
|---|---|
| javax.script | The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. | 
| Uses of ScriptContext in javax.script | 
|---|
| Classes in javax.script that implement ScriptContext | |
|---|---|
|  class | SimpleScriptContextSimple implementation of ScriptContext. | 
| Fields in javax.script declared as ScriptContext | |
|---|---|
| protected  ScriptContext | AbstractScriptEngine.contextThe default ScriptContextof thisAbstractScriptEngine. | 
| Methods in javax.script that return ScriptContext | |
|---|---|
|  ScriptContext | ScriptEngine.getContext()Returns the default ScriptContextof theScriptEnginewhose Bindings, Reader
 and Writers are used for script executions when noScriptContextis specified. | 
|  ScriptContext | AbstractScriptEngine.getContext()Returns the value of the protected contextfield. | 
| protected  ScriptContext | AbstractScriptEngine.getScriptContext(Bindings nn)Returns a SimpleScriptContext. | 
| Methods in javax.script with parameters of type ScriptContext | |
|---|---|
|  Object | ScriptEngine.eval(Reader reader,
     ScriptContext context)Same as eval(String, ScriptContext)where the source of the script
 is read from aReader. | 
| abstract  Object | CompiledScript.eval(ScriptContext context)Executes the program stored in this CompiledScriptobject. | 
|  Object | ScriptEngine.eval(String script,
     ScriptContext context)Causes the immediate execution of the script whose source is the String passed as the first argument. | 
|  void | ScriptEngine.setContext(ScriptContext context)Sets the default ScriptContextof theScriptEnginewhose Bindings, Reader
 and Writers are used for script executions when noScriptContextis specified. | 
|  void | AbstractScriptEngine.setContext(ScriptContext ctxt)Sets the value of the protected contextfield to the specifiedScriptContext. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.