A B C D E F G H I J K L M N O P R S T U V W X

A

AbstractScriptEngine - Class in javax.script
Provides a standard implementation for various versions of the eval() methods.
AbstractScriptEngine() - Constructor for class javax.script.AbstractScriptEngine
Constructs a ScriptEngine using an uninitialized SimpleScriptContext.
AbstractScriptEngine(Bindings) - Constructor for class javax.script.AbstractScriptEngine
Constructs a ScriptEngine using the specified Bindings as its ENGINE_SCOPE.
APPLICATION_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of APPLICATION_SCOPE
ARGV - Static variable in interface javax.script.ScriptEngine
Reserved key associated with an object array which is used to pass set of positional parameters to the ScriptEngines.

B

Bindings - Interface in javax.script
A mapping of key/value pairs, all of whose keys are non-empty Strings.

C

clear() - Method in class javax.script.SimpleBindings
Compilable - Interface in javax.script
Optional interface implemented by script engines which can compile scripts to a form that can be executed repeatedly.
compile(String) - Method in interface javax.script.Compilable
Compiles the script (sourced from the String) for later execution.
compile(Reader) - Method in interface javax.script.Compilable
Compiles the script (source is read from the Reader) for later execution.
CompiledScript - Class in javax.script
Base for classes that store the results of compilations.
CompiledScript() - Constructor for class javax.script.CompiledScript
 
containsKey(Object) - Method in interface javax.script.Bindings
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class javax.script.SimpleBindings
Returns true if this map contains a mapping for the specified key.
containsValue(Object) - Method in class javax.script.SimpleBindings
context - Variable in class javax.script.AbstractScriptEngine
The default ScriptContext of this AbstractScriptEngine
ContextHelper - Class in org.mozilla.javascript
Hack to enable creating E4X XML from Axiom OMElements outside of a script invocation.
ContextHelper() - Constructor for class org.mozilla.javascript.ContextHelper
 
createBindings() - Method in interface javax.script.ScriptEngine
Retrieves an uninitialized Bindings which can be used as the scope of the ScriptEngine.

D

defaultMethods - Static variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
DefaultXMLHelper - Class in org.apache.bsf.xml
Default XMLHelper for when no specific XMLHelper is implemented for a script engine.
DefaultXMLHelper() - Constructor for class org.apache.bsf.xml.DefaultXMLHelper
 
disableScript - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
disableScript() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
disableScript() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the script execution has been disabled in the Web Application.
displayResults - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
displayResults() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
displayResults() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the HttpScriptServlet executing in this context should display the results of script evaluations.

E

ENGINE - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the name of the Java ScriptEngine
ENGINE_SCOPE - Static variable in interface javax.script.ScriptContext
defines an integer for the scope, ENGINE_SCOPE
ENGINE_VERSION - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the version of the Java ScriptEngine
engineScope - Variable in class javax.script.SimpleScriptContext
This is the scope bindings for ENGINE_SCOPE .
entrySet() - Method in class javax.script.SimpleBindings
errorWriter - Variable in class javax.script.SimpleScriptContext
The writer to be used for displaying error output from scripts
eval(Reader) - Method in class javax.script.AbstractScriptEngine
Evaluates a script obtained using the specified reader as the script source.
eval(Reader, Bindings) - Method in class javax.script.AbstractScriptEngine
Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
eval(String) - Method in class javax.script.AbstractScriptEngine
Evaluates a script contained in a String and returns the resultant object.
eval(String, Bindings) - Method in class javax.script.AbstractScriptEngine
Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
eval() - Method in class javax.script.CompiledScript
Executes the program stored in the CompiledScript object.
eval(Bindings) - Method in class javax.script.CompiledScript
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.
eval(ScriptContext) - Method in class javax.script.CompiledScript
Evaluates the compiled script using the specified ScriptContext.
eval(Reader) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using the specified reader as the script source.
eval(Reader, Bindings) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using a reader as the script source and using the specified namespace as the ENGINE_SCOPE.
eval(Reader, ScriptContext) - Method in interface javax.script.ScriptEngine
Evaluates a script obtained using the specified reader as the script source and using the bindings in the specifed ScriptContext.
eval(String) - Method in interface javax.script.ScriptEngine
Evaluates a script contained in a String and returns the resultant object.
eval(String, Bindings) - Method in interface javax.script.ScriptEngine
Evaluates a piece of script using the specified namespace as the ENGINE_SCOPE.
eval(String, ScriptContext) - Method in interface javax.script.ScriptEngine
Evaluates a script using the bindings in the specifed ScriptContext.

F

FILENAME - Static variable in interface javax.script.ScriptEngine
Reserved key associated with name of the file which contains the source of the script.
forward(String) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
forward(String) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Forwards the request to the resource identified by the specified relative path.
free(ScriptEngine) - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 

G

GenericHttpScriptContext - Class in org.apache.bsf.utils.http
 
GenericHttpScriptContext() - Constructor for class org.apache.bsf.utils.http.GenericHttpScriptContext
 
get(String) - Method in class javax.script.AbstractScriptEngine
Retrieves the value which is associated with the specified key in the state of the ScriptEngine.
get(Object) - Method in interface javax.script.Bindings
Returns the value to which this map maps the specified key.
get(String) - Method in interface javax.script.ScriptEngine
Retrieves the value which is associated with the specified key in the state of the ScriptEngine.
get(String) - Method in class javax.script.ScriptEngineManager
Retrieves the associated value for the spefied key in the GLOBAL_SCOPE
get(Object) - Method in class javax.script.SimpleBindings
Returns the value to which this map maps the specified key.
get() - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 
getAllowedLanguages() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getAllowedLanguages() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves an array of Strings describing the languages that may be used by scripts which is running in the associated HttpScriptContext.
getArgHelper(ScriptEngine) - Static method in class org.apache.bsf.xml.XMLHelper
 
getAttribute(String) - Method in interface javax.script.ScriptContext
Retrieves the value of the getAttribute(String, int) for the lowest scope in which it returns a non-null value.
getAttribute(String, int) - Method in interface javax.script.ScriptContext
Retrieves the value of an attribute in the specified scope.
getAttribute(String) - Method in class javax.script.SimpleScriptContext
Retrieves the value of the getAttribute(String, int) for the lowest scope in which it returns a non-null value.
getAttribute(String, int) - Method in class javax.script.SimpleScriptContext
Retrieves the value of an attribute in the specified scope.
getAttribute(String, Object, int) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getAttributesScope(String) - Method in interface javax.script.ScriptContext
Retrieves the lowest value of the scope for which the attribute is defined.
getAttributesScope(String) - Method in class javax.script.SimpleScriptContext
Retrieves the lowest value of the scope for which the attribute is defined.
getBindings(int) - Method in class javax.script.AbstractScriptEngine
Retrieves a reference to the associated bindings for the specified scope.
getBindings(int) - Method in interface javax.script.ScriptContext
Retrieves the Bindings instance associated with the given scope.
getBindings(int) - Method in interface javax.script.ScriptEngine
Retrieves a reference to the associated bindings for the specified scope.
getBindings() - Method in class javax.script.ScriptEngineManager
Retrieves the bindings corresponds to GLOBAL_SCOPE.
getBindings(int) - Method in class javax.script.SimpleScriptContext
Retrieves the Bindings instance associated with the given scope.
getColumnNumber() - Method in exception javax.script.ScriptException
Retrieves the column number of the script where the error has occured.
getContext() - Method in class javax.script.AbstractScriptEngine
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
getContext() - Method in interface javax.script.ScriptEngine
Returns the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
getContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Retrieves a HttpScriptContext initialized using specified HttpServletRequest, HttpServletResponse and a reference to this HttpScriptServlet.
getEngine() - Method in class javax.script.CompiledScript
Retrieves a reference to the ScriptEngine whose methods created this CompiledScript object.
getEngine(HttpServletRequest) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Returns a ScriptEngine instance which is used by the HttpScriptServlet to executes a single request.
getEngineByExtension(String) - Method in class javax.script.ScriptEngineManager
Retrieves a new instance of a ScriptingEngine for the specified extension of a script file.
getEngineByMimeType(String) - Method in class javax.script.ScriptEngineManager
Retrieves new instance the ScriptingEngine for a specifed MIME type.
getEngineByName(String) - Method in class javax.script.ScriptEngineManager
Retrieves a new instance of a ScriptEngine the specified descriptive name.
getEngineFactories() - Method in class javax.script.ScriptEngineManager
Retrieves an array of instances of ScriptEngineFactory class which are found by the discovery mechanism.
getEngineName() - Method in interface javax.script.ScriptEngineFactory
Retrieves the full name of the ScriptEngine.
getEngineVersion() - Method in interface javax.script.ScriptEngineFactory
Retrieves the version of the Script Engine.
getErrorWriter() - Method in interface javax.script.ScriptContext
Returns the Writer to be used to display error output.
getErrorWriter() - Method in class javax.script.SimpleScriptContext
Returns the Writer to be used to display error output.
getExtensions() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of Strings which are file extensions typically used for files containing scripts written in the language supported by the ScriptEngine.
getFactory() - Method in interface javax.script.ScriptEngine
Returns a ScriptEngineFactory for the class to which this ScriptEngine belongs.
getFileName() - Method in exception javax.script.ScriptException
Retrieves the file name in which the script is contained.
getInterface(Class) - Method in interface javax.script.Invocable
Retrieves an instance of a java class whose methods are implemented using procedures in script which are in the intermediate code repository in the underlying interpreter.
getInterface(Object, Class) - Method in interface javax.script.Invocable
Retrieves an instance of a java class whose methods are implemented using procedures in script which are in the intermediate code repository in the underlying interpreter.
getLanguageName() - Method in interface javax.script.ScriptEngineFactory
Retrieves the name of the language supported by the ScriptEngine.
getLanguageVersion() - Method in interface javax.script.ScriptEngineFactory
Retrieves the version of the language supported by the ScriptEngine.
getLineNumber() - Method in exception javax.script.ScriptException
Retrieves the line number of the script where the error has occured.
getMessage() - Method in exception javax.script.ScriptException
Retrieves a String describing the cause of error.
getMethodCallSyntax(String, String, String[]) - Method in interface javax.script.ScriptEngineFactory
Returns a String which can be used to invoke a method of a Java object using the syntax of the supported scripting language.
getMethods() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getMethods() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves an array of string describing HTTP request methods which are handled by servlets executing in current context.
getMimeTypes() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of Strings containing MIME types describing the content which can be processed using the Script Engine.
getNames() - Method in interface javax.script.ScriptEngineFactory
Retrieves an immutable list of short descriptive names such as {"javascript", "rhino"} describing the language supported by the Script Engine.
getOutputStatement(String) - Method in interface javax.script.ScriptEngineFactory
Returns a String that can be used as a statement to display the specified String using the syntax of the supported scripting language.
getParameter(String) - Method in interface javax.script.ScriptEngineFactory
Retrieves an associated value for the specified key.
getProgram(String[]) - Method in interface javax.script.ScriptEngineFactory
Returns A valid scripting language executable progam with given statements.
getReader() - Method in interface javax.script.ScriptContext
Returns a Reader to be used by the script to read input.
getReader() - Method in class javax.script.SimpleScriptContext
Returns a Reader to be used by the script to read input.
getRequest() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getRequest() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a HttpScriptRequest for the current request.
getRequestDispatcher(String) - Method in class org.apache.bsf.utils.http.HttpScriptRequest
 
getResponse() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getResponse() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a HttpScriptResponse for the current request.
getScopes() - Method in interface javax.script.ScriptContext
Returns an immutable List of all the valid values for scope in the ScriptContext.
getScopes() - Method in class javax.script.SimpleScriptContext
Returns an immutable List of all the valid values for scope in the ScriptContext.
getScriptContext(Bindings) - Method in class javax.script.AbstractScriptEngine
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
getScriptEngine() - Method in interface javax.script.ScriptEngineFactory
Retrieves an instance of the associated ScriptEngine.
getScriptSource() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getScriptSource() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a reader form which the executing script can be read.
getServlet() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getServlet() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves the associated HttpScriptServlet.
getSession() - Method in class org.apache.bsf.utils.http.HttpScriptRequest
 
getWriter() - Method in interface javax.script.ScriptContext
Retrieves an instance of java.io.Writer which can be used by scripts to display their output.
getWriter() - Method in class javax.script.SimpleScriptContext
Retrieves an instance of java.io.Writer which can be used by scripts to display their output.
getWriter() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getXMLHelper(ScriptEngine) - Static method in class org.apache.bsf.xml.JavaScriptE4XHelper
 
GLOBAL_SCOPE - Static variable in interface javax.script.ScriptContext
defines an integer for the scope, GLOBAL_SCOPE
globalScope - Variable in class javax.script.SimpleScriptContext
This is the scope bindings for GLOBAL_SCOPE.

H

HttpScriptContext - Interface in org.apache.bsf.utils.http
HttpScriptContext is a subinteface of ScriptContext which is used to connect a ScriptEngine and implicit objects form a servlet container to for a single request.
HttpScriptRequest - Class in org.apache.bsf.utils.http
HttpScriptRequest class is a wrapper used to wrap HttpServletRequest in HttpScriptContext.getResponse() method.
HttpScriptRequest(HttpScriptContext, HttpServletRequest) - Constructor for class org.apache.bsf.utils.http.HttpScriptRequest
 
HttpScriptResponse - Class in org.apache.bsf.utils.http
HttpScriptResponse is a Wrapper class which is used to wrap the a HttpServletResponse in HttpScriptContext.getReponse() method.
HttpScriptResponse(HttpScriptContext, HttpServletResponse) - Constructor for class org.apache.bsf.utils.http.HttpScriptResponse
 
HttpScriptServlet - Class in org.apache.bsf.utils.http
HttpScriptServlet contains method which allows execution of scripts written in one or more languages.
HttpScriptServlet() - Constructor for class org.apache.bsf.utils.http.HttpScriptServlet
 

I

include(String) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
include(String) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Includes the resource in the sepcified relative path.
init() - Static method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
initialize(Servlet, HttpServletRequest, HttpServletResponse) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
initialize(Servlet, HttpServletRequest, HttpServletResponse) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Initialize the current HttpScriptContext for processing of single request.
Invocable - Interface in javax.script
Optional interface implemented by ScriptEngines which allow the invocation of procedures in scripts that have previously been executed.
invokeFunction(String, Object[]) - Method in interface javax.script.Invocable
Invokes a scripting procedure with the given name using the array of objects as its arguments set.
invokeMethod(Object, String, Object[]) - Method in interface javax.script.Invocable
Invokes a procedure on an object which already defined in the script using the array of objects as its arguments set.
isEmpty() - Method in class javax.script.SimpleBindings
isMultithreadingSupported() - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 

J

JavaScriptE4XAxiomHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X using Axiom
JavaScriptE4XHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X
JavaScriptE4XHelper() - Constructor for class org.apache.bsf.xml.JavaScriptE4XHelper
 
JavaScriptE4XXmlBeansHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X using XmlBeans
javax.script - package javax.script
Apache BSF3 - an implementation of JSR-223 (javax.script).
JRubyReXMLHelper - Class in org.apache.bsf.xml
XMLHelper for Ruby ReXML TODO: Find a more efficent way to do this with JRuby

K

keySet() - Method in class javax.script.SimpleBindings

L

LANGUAGE - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the name of the supported scripting language
LANGUAGE_VERSION - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the version of the supported scripting language
languages - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

M

Main - Class in org.apache.bsf
This is the main driver for BSF to be run on the command line to eval scripts directly.
Main() - Constructor for class org.apache.bsf.Main
 
main(String[]) - Static method in class org.apache.bsf.Main
Static driver to be able to run BSF scripts from the command line.
methods - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

N

NAME - Static variable in interface javax.script.ScriptEngine
Reserved key associated with the named value which identifies the short name of the supported language

O

org.apache.bsf - package org.apache.bsf
Command-line utility for exercising the scripting API.
org.apache.bsf.utils.http - package org.apache.bsf.utils.http
This package is INCOMPLETE.
org.apache.bsf.xml - package org.apache.bsf.xml
Utility classes for converting between Java representations of XML and script languages.
org.mozilla.javascript - package org.mozilla.javascript
Hack to enable creating E4X XML from Axiom OMElements outside of a script invocation.

P

put(String, Object) - Method in class javax.script.AbstractScriptEngine
Associates a key and a value in the ScriptEngine ENGINE_SCOPE bindings.
put(String, Object) - Method in interface javax.script.Bindings
Associates the specified value with the specified key in a java.util.Map.
put(String, Object) - Method in interface javax.script.ScriptEngine
Associates a key and a value in the ScriptEngine ENGINE_SCOPE bindings.
put(String, Object) - Method in class javax.script.ScriptEngineManager
Associates the specifed value with the specified key in GLOBAL_SCOPE.
put(String, Object) - Method in class javax.script.SimpleBindings
Associates the specified value with the specified key in a java.util.Map.
put(Object, Object) - Method in class javax.script.SimpleBindings
Deprecated. use put(String, Object) instead
putAll(Map) - Method in interface javax.script.Bindings
Copies all of the mappings from the specified map to this map.
putAll(Map) - Method in class javax.script.SimpleBindings
Copies all of the mappings from the specified map to this map.

R

reader - Variable in class javax.script.SimpleScriptContext
The reader to be used for input from scripts.
registerEngineExtension(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Register a extension with a ScriptEngineFactory.
registerEngineMimeType(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Registers a MIME type with a ScriptEngineFactory.
registerEngineName(String, ScriptEngineFactory) - Method in class javax.script.ScriptEngineManager
Registers descriptive name with a ScriptEngineFactory.
release() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
release() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Clears any state stored in the current HttpScriptContext such that it can be reused to serve another request.
releaseEngine(ScriptEngine) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Called to indicate that the ScriptEngine returned by call to getEngine() is no longer in use.
remove(Object) - Method in interface javax.script.Bindings
Removes the mapping for this key from this map if it is present (optional operation).
remove(Object) - Method in class javax.script.SimpleBindings
Removes the mapping for this key from this map if it is present (optional operation).
removeAttribute(String, int) - Method in interface javax.script.ScriptContext
Removes the given attribute from the specified scope.
removeAttribute(String, int) - Method in class javax.script.SimpleScriptContext
Removes the given attribute from the specified scope.
request - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
REQUEST_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of SCRIPT_SCOPE
response - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

S

ScriptContext - Interface in javax.script
See Javadoc of Java Scripting API
scriptDir - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
ScriptEngine - Interface in javax.script
See Javadoc of Java Scripting API
ScriptEngineFactory - Interface in javax.script
See Javadoc of Java Scripting API
ScriptEngineManager - Class in javax.script
See Javadoc of Java Scripting API
ScriptEngineManager() - Constructor for class javax.script.ScriptEngineManager
Constructs a ScriptEngineManager and initializes it using the current context classloader.
ScriptEngineManager(ClassLoader) - Constructor for class javax.script.ScriptEngineManager
Constructs a ScriptEngineManager and initializes it using the specified classloader.
ScriptEnginePool - Class in org.apache.bsf.utils.http
 
ScriptEnginePool(ScriptEngineFactory, int) - Constructor for class org.apache.bsf.utils.http.ScriptEnginePool
 
ScriptEnginePool(ScriptEngineFactory) - Constructor for class org.apache.bsf.utils.http.ScriptEnginePool
 
ScriptException - Exception in javax.script
Generic Exception class for the Scripting APIs.
ScriptException(Exception) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the specified cause.
ScriptException(String) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the specified detailed message.
ScriptException(String, String, int) - Constructor for exception javax.script.ScriptException
Constructs a new exception with the spcified detailed message of cause, the file name of the source of script and the line number of the script where the error has occured.
ScriptException(String, String, int, int) - Constructor for exception javax.script.ScriptException
Constructs a new exception using the detailed message of cause, file name which contains the script, line number and column number in which the error has occured.
service(ServletRequest, ServletResponse) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Executes a script using the HttpScriptContext obtained by a call to getContext() and the ScriptEngine obtained by a call to getEngine().
servlet - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
SESSION_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of SESSION_SCOPE
setAttribute(String, Object, int) - Method in interface javax.script.ScriptContext
Associates a specified value with the specifed name in the specified scope.
setAttribute(String, Object, int) - Method in class javax.script.SimpleScriptContext
Associates a specified value with the specifed name in the specified scope.
setAttribute(String, Object, int) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
setBindings(Bindings, int) - Method in class javax.script.AbstractScriptEngine
Associates the specified bindings with the specified scope.
setBindings(Bindings, int) - Method in interface javax.script.ScriptContext
Associates the specified Bindings with the specified scope.
setBindings(Bindings, int) - Method in interface javax.script.ScriptEngine
Associates the specified bindings with the specified scope.
setBindings(Bindings) - Method in class javax.script.ScriptEngineManager
Sets the GLOBAL_SCOPE value to the specified bindings.
setBindings(Bindings, int) - Method in class javax.script.SimpleScriptContext
Associates the specified Bindings with the specified scope.
setContext(ScriptContext) - Method in class javax.script.AbstractScriptEngine
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
setContext(ScriptContext) - Method in interface javax.script.ScriptEngine
Sets the default ScriptContext of the ScriptEngine whose Bindings, Readers and Writers are used for script executions when no ScriptContext is specified.
setErrorWriter(Writer) - Method in interface javax.script.ScriptContext
Sets the Writer for scripts to use when displaying error output.
setErrorWriter(Writer) - Method in class javax.script.SimpleScriptContext
Sets the Writer for scripts to use when displaying error output.
setReader(Reader) - Method in interface javax.script.ScriptContext
Sets the Reader to be used by the script to read input.
setReader(Reader) - Method in class javax.script.SimpleScriptContext
Sets the Reader to be used by the script to read input.
setTopCallScope(Context, Scriptable) - Static method in class org.mozilla.javascript.ContextHelper
 
setWriter(Writer) - Method in interface javax.script.ScriptContext
Sets the Writer for scripts to use when displaying output.
setWriter(Writer) - Method in class javax.script.SimpleScriptContext
Sets the Writer for scripts to use when displaying output.
SimpleBindings - Class in javax.script
A simple implementation of Bindings, backed by a HashMap (or other Map).
SimpleBindings() - Constructor for class javax.script.SimpleBindings
Constructs a SimpleBindings.
SimpleBindings(Map) - Constructor for class javax.script.SimpleBindings
Constructs a SimpleBindings and initializes it using a specified map.
SimpleScriptContext - Class in javax.script
A simple implementation of ScriptContext.
SimpleScriptContext() - Constructor for class javax.script.SimpleScriptContext
Create a new instance, setting the Reader and Writers from the corresponding System streams.
size() - Method in class javax.script.SimpleBindings

T

toDOMNode(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toDOMNode(Object) - Method in class org.apache.bsf.xml.XMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JavaScriptE4XXmlBeansHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JRubyReXMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(XMLStreamReader) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(Node) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JavaScriptE4XXmlBeansHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JRubyReXMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(XMLStreamReader) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(Node) - Method in class org.apache.bsf.xml.XMLHelper
 
toXMLStreamReader(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toXMLStreamReader(Object) - Method in class org.apache.bsf.xml.XMLHelper
 

U

useSession - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
useSession() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
useSession() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the HttpSession associated with the current request is exposed in SESSION_SCOPE attribute and in the HttpScriptRequest.

V

values() - Method in class javax.script.SimpleBindings

W

writer - Variable in class javax.script.SimpleScriptContext
The writer to be used for displaying output from scripts

X

XMLHelper - Class in org.apache.bsf.xml
Utility for converting between Java representations of XML such DOM nodes, StAX streams, or Axiom OMElements, into script language representations such as JavaScript E4X, Ruby ReXML, or Python ElementTree.
XMLHelper() - Constructor for class org.apache.bsf.xml.XMLHelper
 

A B C D E F G H I J K L M N O P R S T U V W X

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