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

A

AdapterClassLoader - class org.apache.bsf.util.event.generator.AdapterClassLoader.
 
AdapterClassLoader() - Constructor for class org.apache.bsf.util.event.generator.AdapterClassLoader
 
actionPerformed(ActionEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ActionAdapter
 
addBytes(byte[], byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addBytes(byte[], byte) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addBytes(byte[], int) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addBytes(byte[], long) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addBytes(byte[], String) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addBytes(byte[], short) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
addClass(byte[], short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addConstructorArgument(ObjInfo) - Method in class org.apache.bsf.util.CodeBuffer
 
addConstructorException(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addConstructorStatement(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addEventListener(Object, String, String, Object) - Method in class org.apache.bsf.util.BSFFunctions
 
addEventListener(Object, String, String, BSFEngine, BSFManager, String, int, int, Object) - Static method in class org.apache.bsf.util.EngineUtils
Add a script as a listener to some event coming out of an object.
addEventListener(Object, String, EventProcessor) - Static method in class org.apache.bsf.util.ReflectionUtils
Add an event processor as a listener to some event coming out of an object.
addEventListenerReturningEventInfos(Object, String, String, BSFEngine, BSFManager, String, int, int, Object, Object) - Static method in class org.apache.bsf.util.EngineUtils
Add a script as a listener to some event coming out of an object.
addFieldDeclaration(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addFieldRef(byte[], short, short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addImplements(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addImport(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addInitializerStatement(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addInteger(byte[], int) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addInterfaceMethodRef(byte[], short, short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addLong(byte[], long) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addMethodDeclaration(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addMethodRef(byte[], short, short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addNameAndType(byte[], short, short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addRef(byte, byte[], short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addRef(byte, byte[], short, short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addServiceMethodException(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addServiceMethodStatement(String) - Method in class org.apache.bsf.util.CodeBuffer
 
addString(byte[], short) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
addUtf8(byte[], String) - Static method in class org.apache.bsf.util.event.generator.Bytecode
 
adjustmentValueChanged(AdjustmentEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_AdjustmentAdapter
 
apply(String, int, int, Object, Vector, Vector) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to invoke an anonymous function.
apply(String, String, int, int, Object, Vector, Vector) - Method in class org.apache.bsf.BSFManager
Apply the given anonymous function of the given language to the given parameters and return the resulting value.
apply(String, int, int, Object, Vector, Vector) - Method in class org.apache.bsf.engines.jython.JythonEngine
Evaluate an anonymous function (differs from eval() in that apply() handles multiple lines).
apply(String, int, int, Object, Vector, Vector) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of apply - calls eval ignoring parameters and returns the result.

B

BSFDeclaredBean - class org.apache.bsf.BSFDeclaredBean.
BSFDeclaredBeans are used internally by BSF to encapsulate information being passed between a BSFManager and its various BSFEngines.
BSFEngine - interface org.apache.bsf.BSFEngine.
This is the view of a scripting engine assumed by the Bean Scripting Framework.
BSFEngineImpl - class org.apache.bsf.util.BSFEngineImpl.
This is a base implementation of the BSFEngine interface which engine implementations may choose to extend to get the basic methods of the interface implemented.
BSFEngineImpl() - Constructor for class org.apache.bsf.util.BSFEngineImpl
 
BSFEventProcessor - class org.apache.bsf.util.BSFEventProcessor.
This is used to support binding scripts to be run when an event occurs.
BSFEventProcessorReturningEventInfos - class org.apache.bsf.util.BSFEventProcessorReturningEventInfos.
This is used to support binding scripts to be run when an event occurs, forwarding the arguments supplied to the event listener.
BSFException - exception org.apache.bsf.BSFException.
If something goes wrong while doing some scripting stuff, one of these is thrown.
BSFException(int, String) - Constructor for class org.apache.bsf.BSFException
 
BSFException(int, String, Throwable) - Constructor for class org.apache.bsf.BSFException
 
BSFException(String) - Constructor for class org.apache.bsf.BSFException
 
BSFFunctions - class org.apache.bsf.util.BSFFunctions.
This is a utility that engine implementors may use as the Java object they expose in the scripting language as "bsf".
BSFFunctions(BSFManager, BSFEngine) - Constructor for class org.apache.bsf.util.BSFFunctions
 
BSFManager - class org.apache.bsf.BSFManager.
This class is the entry point to the bean scripting framework.
BSFManager() - Constructor for class org.apache.bsf.BSFManager
 
Bean - class org.apache.bsf.util.Bean.
A Bean is the class used to represent a bean: it holds a type and a value.
Bean(Class, Object) - Constructor for class org.apache.bsf.util.Bean
 
ByteUtility - class org.apache.bsf.util.event.generator.ByteUtility.
Byte handling utilities 5 April 1999 - functions to append standard types to byte arrays functions to produce standard types from byte arrays
ByteUtility() - Constructor for class org.apache.bsf.util.event.generator.ByteUtility
 
Bytecode - class org.apache.bsf.util.event.generator.Bytecode.
Bytecode handling utilities Handle standard byte arrays as defined in Java VM and Class File 5 April 1999 - functions to append Class File byte subarrays into a Class File byte array
Bytecode() - Constructor for class org.apache.bsf.util.event.generator.Bytecode
 
bean - Variable in class org.apache.bsf.BSFDeclaredBean
 
buildNewSymbol(String) - Method in class org.apache.bsf.util.CodeBuffer
 
byteArrayToDouble(byte[], byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToDouble(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToFloat(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToInt(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToLong(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToLong(byte[], byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToShort(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteToHexString(byte) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 

C

CFDriver - class org.apache.bsf.util.cf.CFDriver.
This is an example of how a CodeFormatter bean can be used.
CFDriver() - Constructor for class org.apache.bsf.util.cf.CFDriver
Not used.
C_Class - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_Double - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_FieldRef - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_Float - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_Integer - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_InterfaceMethodRef - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_Long - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_MethodRef - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_NameAndType - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_String - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
C_Utf8 - Static variable in class org.apache.bsf.util.event.generator.Bytecode
 
CodeBuffer - class org.apache.bsf.util.CodeBuffer.
A CodeBuffer object is used as a code repository for generated Java code.
CodeBuffer() - Constructor for class org.apache.bsf.util.CodeBuffer
 
CodeBuffer(CodeBuffer) - Constructor for class org.apache.bsf.util.CodeBuffer
 
CodeFormatter - class org.apache.bsf.util.cf.CodeFormatter.
A CodeFormatter bean is used to format raw Java code.
CodeFormatter() - Constructor for class org.apache.bsf.util.cf.CodeFormatter
 
call(Object, String, Object[]) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to call into the scripting engine to make a function/method call.
call(Object, String, Object[]) - Method in class org.apache.bsf.engines.jacl.JaclEngine
 
call(Object, String, Object[]) - Method in class org.apache.bsf.engines.javascript.JavaScriptEngine
Return an object from an extension.
call(Object, String, Object[]) - Method in class org.apache.bsf.engines.jython.JythonEngine
call the named method of the given object.
call(Object, String, Object[]) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
Return an object from an extension.
call(Object, String, Object[]) - Method in class org.apache.bsf.engines.xslt.XSLTEngine
call the named method of the given object.
callBeanMethod(Object, String, Object[]) - Static method in class org.apache.bsf.util.EngineUtils
Finds and invokes a method with the given signature on the given bean.
classLoader - Variable in class org.apache.bsf.BSFManager
 
classLoader - Variable in class org.apache.bsf.util.BSFEngineImpl
 
classNameToVarName(String) - Static method in class org.apache.bsf.util.StringUtils
 
classPath - Variable in class org.apache.bsf.BSFManager
 
classPath - Variable in class org.apache.bsf.util.BSFEngineImpl
 
cleanString(String) - Static method in class org.apache.bsf.util.StringUtils
 
clearSymbolTable() - Method in class org.apache.bsf.util.CodeBuffer
 
compileApply(String, int, int, Object, Vector, Vector, CodeBuffer) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to compile an anonymous function.
compileApply(String, String, int, int, Object, Vector, Vector, CodeBuffer) - Method in class org.apache.bsf.BSFManager
Compile the application of the given anonymous function of the given language to the given parameters into the given CodeBuffer.
compileApply(String, int, int, Object, Vector, Vector, CodeBuffer) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of compileApply - calls compileExpr ignoring parameters.
compileExpr(String, int, int, Object, CodeBuffer) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to compile a value-returning expression.
compileExpr(String, String, int, int, Object, CodeBuffer) - Method in class org.apache.bsf.BSFManager
Compile the given expression of the given language into the given CodeBuffer.
compileExpr(String, int, int, Object, CodeBuffer) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of compileExpr - generates code that'll create a new manager, evaluate the expression, and return the value.
compileScript(String, int, int, Object, CodeBuffer) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to compile some script.
compileScript(String, String, int, int, Object, CodeBuffer) - Method in class org.apache.bsf.BSFManager
Compile the given script of the given language into the given CodeBuffer.
compileScript(String, int, int, Object, CodeBuffer) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of compileScript - generates code that'll create a new manager, and execute the script.
componentAdded(ContainerEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ContainerAdapter
 
componentHidden(ComponentEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
componentMoved(ComponentEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
componentRemoved(ContainerEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ContainerAdapter
 
componentResized(ComponentEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
componentShown(ComponentEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
convert(Class, Class, Object) - Method in interface org.apache.bsf.util.type.TypeConvertor
 
createBean(String, Object[]) - Static method in class org.apache.bsf.util.EngineUtils
Creates a new bean.
createBean(ClassLoader, String, Class[], Object[]) - Static method in class org.apache.bsf.util.ReflectionUtils
Create a bean using given class loader and using the appropriate constructor for the given args of the given arg types.
createBean(ClassLoader, String, Object[]) - Static method in class org.apache.bsf.util.ReflectionUtils
Create a bean using given class loader and using the appropriate constructor for the given args.

D

DEFAULT_DELIM - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default set of delimiters.
DEFAULT_MAX - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default maximum line length.
DEFAULT_STEP - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default size of the indentation step.
DEFAULT_S_DELIM - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default set of sticky delimiters.
declareBean(BSFDeclaredBean) - Method in interface org.apache.bsf.BSFEngine
Declare a bean after the engine has been started.
declareBean(String, Object, Class) - Method in class org.apache.bsf.BSFManager
Declare a bean.
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.jacl.JaclEngine
Declare a bean
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.javascript.JavaScriptEngine
 
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.jython.JythonEngine
Declare a bean
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
 
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.xslt.XSLTEngine
Declare a bean by setting it as a parameter
declareBean(BSFDeclaredBean) - Method in class org.apache.bsf.util.BSFEngineImpl
 
declaredBeans - Variable in class org.apache.bsf.BSFManager
 
declaredBeans - Variable in class org.apache.bsf.util.BSFEngineImpl
 
defineClass(String, byte[]) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 

E

EngineUtils - class org.apache.bsf.util.EngineUtils.
This class contains utilities that language integrators can use when implementing the BSFEngine interface.
EngineUtils() - Constructor for class org.apache.bsf.util.EngineUtils
 
EventAdapter - interface org.apache.bsf.util.event.EventAdapter.
EventAdapter is the interface that all event adapters must implement in order to work with the automatic event adapter generation model.
EventAdapterGenerator - class org.apache.bsf.util.event.generator.EventAdapterGenerator.
EventAdapterGenerator Generate an "Event Adapter" dynamically during program execution
EventAdapterGenerator() - Constructor for class org.apache.bsf.util.event.generator.EventAdapterGenerator
 
EventAdapterImpl - class org.apache.bsf.util.event.EventAdapterImpl.
EventAdapterImpl is a default implementation of the EventAdapter interface that specific event adapters may choose to subclass from instead of implementing the interface themselves.
EventAdapterImpl() - Constructor for class org.apache.bsf.util.event.EventAdapterImpl
 
EventAdapterRegistry - class org.apache.bsf.util.event.EventAdapterRegistry.
The EventAdapterRegistry is the registry of event adapters.
EventAdapterRegistry() - Constructor for class org.apache.bsf.util.event.EventAdapterRegistry
 
EventProcessor - interface org.apache.bsf.util.event.EventProcessor.
EventProcessor is the interface that event adapters use to delegate events they received to be delivered to the appropriate target.
eval(String, int, int, Object) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to evaluate an expression.
eval(String, String, int, int, Object) - Method in class org.apache.bsf.BSFManager
Evaluate the given expression of the given language and return the resulting value.
eval(String, int, int, Object) - Method in class org.apache.bsf.engines.jacl.JaclEngine
This is used by an application to evaluate a string containing some expression.
eval(String, int, int, Object) - Method in class org.apache.bsf.engines.javascript.JavaScriptEngine
This is used by an application to evaluate a string containing some expression.
eval(String, int, int, Object) - Method in class org.apache.bsf.engines.jython.JythonEngine
Evaluate an expression.
eval(String, int, int, Object) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
Override impl of execute.
eval(String, int, int, Object) - Method in class org.apache.bsf.engines.xslt.XSLTEngine
Evaluate an expression.
eventProcessor - Variable in class org.apache.bsf.util.event.EventAdapterImpl
 
exec(String, int, int, Object) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to execute some script.
exec(String, String, int, int, Object) - Method in class org.apache.bsf.BSFManager
Execute the given script of the given language.
exec(String, int, int, Object) - Method in class org.apache.bsf.engines.jython.JythonEngine
Execute a script.
exec(String, int, int, Object) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
Override impl of execute.
exec(String, int, int, Object) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of execute - calls eval and ignores the result.
execEvalShared(String, int, int, Object, boolean) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
This is shared code for the exec() and eval() operations.
extn2Lang - Static variable in class org.apache.bsf.BSFManager
 

F

findClass(String) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
focusGained(FocusEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_FocusAdapter
 
focusLost(FocusEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_FocusAdapter
 
formatCode(Reader, Writer) - Method in class org.apache.bsf.util.cf.CodeFormatter
Formats the code read from source, and writes the formatted code to target.

G

get(String) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
getChars(int, char) - Static method in class org.apache.bsf.util.StringUtils
Get a string consisting of numberOfChars theChars.
getClassLoader() - Method in class org.apache.bsf.BSFManager
Get classLoader
getClassName() - Method in class org.apache.bsf.util.CodeBuffer
 
getClassName(Class) - Static method in class org.apache.bsf.util.StringUtils
 
getClassPath() - Method in class org.apache.bsf.BSFManager
Get classPath
getCodeGenString() - Method in interface org.apache.bsf.util.type.TypeConvertor
 
getCommaListFromVector(Vector) - Static method in class org.apache.bsf.util.StringUtils
 
getConstructor(Class, Class[]) - Static method in class org.apache.bsf.util.MethodUtils
Class.getConstructor() finds only the entry point (if any) _exactly_ matching the specified argument types.
getConstructorArguments() - Method in class org.apache.bsf.util.CodeBuffer
 
getConstructorBuffer() - Method in class org.apache.bsf.util.CodeBuffer
 
getConstructorExceptions() - Method in class org.apache.bsf.util.CodeBuffer
 
getContentAsReader(URL) - Static method in class org.apache.bsf.util.StringUtils
 
getContentAsString(URL) - Static method in class org.apache.bsf.util.StringUtils
 
getDelimiters() - Method in class org.apache.bsf.util.cf.CodeFormatter
Gets the set of delimiters.
getExtends() - Method in class org.apache.bsf.util.CodeBuffer
 
getField(Object, String) - Static method in class org.apache.bsf.util.ReflectionUtils
 
getFieldBuffer() - Method in class org.apache.bsf.util.CodeBuffer
 
getFinalServiceMethodStatement() - Method in class org.apache.bsf.util.CodeBuffer
 
getImplements() - Method in class org.apache.bsf.util.CodeBuffer
 
getImports() - Method in class org.apache.bsf.util.CodeBuffer
 
getIndentationStep() - Method in class org.apache.bsf.util.cf.CodeFormatter
Gets the size of the indentation step.
getInitializerBuffer() - Method in class org.apache.bsf.util.CodeBuffer
 
getLangFromFilename(String) - Static method in class org.apache.bsf.BSFManager
Determine the language of a script file by looking at the file extension.
getLoadedClass(String) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
getMaxLineLength() - Method in class org.apache.bsf.util.cf.CodeFormatter
Gets the maximum line length.
getMethod(Class, String, Class[], boolean) - Static method in class org.apache.bsf.util.MethodUtils
 
getMethod(Object, String, Class[]) - Static method in class org.apache.bsf.util.MethodUtils
Class.getMethod() finds only the entry point (if any) _exactly_ matching the specified argument types.
getMethodBuffer() - Method in class org.apache.bsf.util.CodeBuffer
 
getNode() - Method in class org.apache.bsf.engines.xslt.XSLTResultNode
 
getObjectRegistry() - Method in class org.apache.bsf.BSFManager
Return the current object registry of the manager.
getPackageName() - Method in class org.apache.bsf.util.CodeBuffer
 
getProperty(Object, String, Integer) - Static method in class org.apache.bsf.util.ReflectionUtils
Get a property of a bean.
getReason() - Method in class org.apache.bsf.BSFException
 
getSafeString(String) - Static method in class org.apache.bsf.util.StringUtils
 
getServiceMethodBuffer() - Method in class org.apache.bsf.util.CodeBuffer
 
getServiceMethodExceptions() - Method in class org.apache.bsf.util.CodeBuffer
 
getServiceMethodName() - Method in class org.apache.bsf.util.CodeBuffer
 
getServiceMethodReturnType() - Method in class org.apache.bsf.util.CodeBuffer
 
getStickyDelimiters() - Method in class org.apache.bsf.util.cf.CodeFormatter
Gets the set of sticky delimiters.
getStringFromReader(Reader) - Static method in class org.apache.bsf.util.IOUtils
 
getSymbol(String) - Method in class org.apache.bsf.util.CodeBuffer
 
getSymbolTable() - Method in class org.apache.bsf.util.CodeBuffer
 
getTargetException() - Method in class org.apache.bsf.BSFException
 
getTempDir() - Method in class org.apache.bsf.BSFManager
Get tempDir
getTypeSignatureString(Class) - Static method in class org.apache.bsf.util.EngineUtils
Given a class return the type signature string fragment for it.
getURL(URL, String) - Static method in class org.apache.bsf.util.StringUtils
 
getValidIdentifierName(String) - Static method in class org.apache.bsf.util.StringUtils
 
getVersion() - Static method in class org.apache.bsf.BSFManager
Returns the version string of BSF.

I

IOUtils - class org.apache.bsf.util.IOUtils.
This file is a collection of input/output utilities.
IOUtils() - Constructor for class org.apache.bsf.util.IOUtils
 
IndentWriter - class org.apache.bsf.util.IndentWriter.
An IndentWriter object behaves the same as a PrintWriter object, with the additional capability of being able to print strings that are prepended with a specified amount of spaces.
IndentWriter(OutputStream) - Constructor for class org.apache.bsf.util.IndentWriter
Forwards its arguments to the PrintWriter constructor with the same signature.
IndentWriter(OutputStream, boolean) - Constructor for class org.apache.bsf.util.IndentWriter
Forwards its arguments to the PrintWriter constructor with the same signature.
IndentWriter(Writer) - Constructor for class org.apache.bsf.util.IndentWriter
Forwards its arguments to the PrintWriter constructor with the same signature.
IndentWriter(Writer, boolean) - Constructor for class org.apache.bsf.util.IndentWriter
Forwards its arguments to the PrintWriter constructor with the same signature.
iexec(String, int, int, Object) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to execute some script, as though one were interacting with the language in an interactive session.
iexec(String, String, int, int, Object) - Method in class org.apache.bsf.BSFManager
Execute the given script of the given language, attempting to emulate an interactive session w/ the language.
iexec(String, int, int, Object) - Method in class org.apache.bsf.engines.jython.JythonEngine
Execute script code, emulating console interaction.
iexec(String, int, int, Object) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of interactive execution - calls eval and ignores the result.
initialize(BSFManager, String, Vector) - Method in interface org.apache.bsf.BSFEngine
This method is used to initialize the engine right after construction.
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.engines.jacl.JaclEngine
Initialize the engine.
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.engines.javascript.JavaScriptEngine
Initialize the engine.
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.engines.jython.JythonEngine
Initialize the engine.
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
 
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.engines.xslt.XSLTEngine
Initialize the engine.
initialize(BSFManager, String, Vector) - Method in class org.apache.bsf.util.BSFEngineImpl
initialize the engine; called right after construction by the manager.
isExecutable() - Method in class org.apache.bsf.util.ObjInfo
 
isLanguageRegistered(String) - Static method in class org.apache.bsf.BSFManager
Determine whether a language is registered.
isValidIdentifierName(String) - Static method in class org.apache.bsf.util.StringUtils
 
isValidPackageName(String) - Static method in class org.apache.bsf.util.StringUtils
 
isValueReturning() - Method in class org.apache.bsf.util.ObjInfo
 
itemStateChanged(ItemEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ItemAdapter
 

J

JDKcompile(String, String) - Static method in class org.apache.bsf.util.JavaUtils
 
JaclEngine - class org.apache.bsf.engines.jacl.JaclEngine.
This is the interface to Scriptics's Jacl (Tcl) from the Bean Scripting Framework.
JaclEngine() - Constructor for class org.apache.bsf.engines.jacl.JaclEngine
 
JavaScriptEngine - class org.apache.bsf.engines.javascript.JavaScriptEngine.
This is the interface to Netscape's Rhino (JavaScript) from the Bean Scripting Framework.
JavaScriptEngine() - Constructor for class org.apache.bsf.engines.javascript.JavaScriptEngine
 
JavaUtils - class org.apache.bsf.util.JavaUtils.
 
JavaUtils() - Constructor for class org.apache.bsf.util.JavaUtils
 
JythonEngine - class org.apache.bsf.engines.jython.JythonEngine.
This is the interface to Jython (http://www.jython.org/) from BSF.
JythonEngine() - Constructor for class org.apache.bsf.engines.jython.JythonEngine
 
java_awt_event_ActionAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_ActionAdapter.
 
java_awt_event_ActionAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ActionAdapter
 
java_awt_event_AdjustmentAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_AdjustmentAdapter.
 
java_awt_event_AdjustmentAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_AdjustmentAdapter
 
java_awt_event_ComponentAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter.
 
java_awt_event_ComponentAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
java_awt_event_ContainerAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_ContainerAdapter.
 
java_awt_event_ContainerAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ContainerAdapter
 
java_awt_event_FocusAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_FocusAdapter.
 
java_awt_event_FocusAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_FocusAdapter
 
java_awt_event_ItemAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_ItemAdapter.
 
java_awt_event_ItemAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ItemAdapter
 
java_awt_event_KeyAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter.
 
java_awt_event_KeyAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter
 
java_awt_event_MouseAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter.
 
java_awt_event_MouseAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
java_awt_event_MouseMotionAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_MouseMotionAdapter.
 
java_awt_event_MouseMotionAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_MouseMotionAdapter
 
java_awt_event_TextAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_TextAdapter.
 
java_awt_event_TextAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_TextAdapter
 
java_awt_event_WindowAdapter - class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter.
 
java_awt_event_WindowAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
java_beans_PropertyChangeAdapter - class org.apache.bsf.util.event.adapters.java_beans_PropertyChangeAdapter.
 
java_beans_PropertyChangeAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_beans_PropertyChangeAdapter
 
java_beans_VetoableChangeAdapter - class org.apache.bsf.util.event.adapters.java_beans_VetoableChangeAdapter.
 
java_beans_VetoableChangeAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_beans_VetoableChangeAdapter
 

K

keyPressed(KeyEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter
 
keyReleased(KeyEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter
 
keyTyped(KeyEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter
 

L

lang - Variable in class org.apache.bsf.util.BSFEngineImpl
 
ldr - Static variable in class org.apache.bsf.util.event.generator.EventAdapterGenerator
 
lineSeparator - Static variable in class org.apache.bsf.util.StringUtils
 
lineSeparatorStr - Static variable in class org.apache.bsf.util.StringUtils
 
loadClass(BSFManager, String) - Static method in class org.apache.bsf.util.EngineUtils
Load a class using the class loader of given manager.
loadClass(String, boolean) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
loadScriptingEngine(String) - Method in class org.apache.bsf.BSFManager
Load a scripting engine based on the lang string identifying it.
loadedEngines - Variable in class org.apache.bsf.BSFManager
 
lookup(String) - Method in class org.apache.bsf.util.ObjectRegistry
 
lookup(Class) - Static method in class org.apache.bsf.util.event.EventAdapterRegistry
 
lookup(Class, Class) - Method in class org.apache.bsf.util.type.TypeConvertorRegistry
 
lookupBean(String) - Method in class org.apache.bsf.BSFManager
return a handle to a bean registered in the bean registry by the application or a scripting engine.
lookupBean(String) - Method in class org.apache.bsf.util.BSFFunctions
 
lookupByKey(Object) - Method in class org.apache.bsf.util.type.TypeConvertorRegistry
 

M

Main - class org.apache.bsf.Main.
This is the main driver for BSF to be run on the command line to eval/exec/compile scripts directly.
Main() - Constructor for class org.apache.bsf.Main
 
MethodUtils - class org.apache.bsf.util.MethodUtils.
This file is a collection of reflection utilities for dealing with methods and constructors.
MethodUtils() - Constructor for class org.apache.bsf.util.MethodUtils
 
main(String[]) - Static method in class org.apache.bsf.Main
Static driver to be able to run BSF scripts from the command line.
main(String[]) - Static method in class org.apache.bsf.util.cf.CFDriver
A driver for CodeFormatter.
makeEventAdapterClass(Class, boolean) - Static method in class org.apache.bsf.util.event.generator.EventAdapterGenerator
 
merge(CodeBuffer) - Method in class org.apache.bsf.util.CodeBuffer
 
mgr - Variable in class org.apache.bsf.util.BSFEngineImpl
 
mouseClicked(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
mouseDragged(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseMotionAdapter
 
mouseEntered(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
mouseExited(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
mouseMoved(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseMotionAdapter
 
mousePressed(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
mouseReleased(MouseEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 

N

NetRexxEngine - class org.apache.bsf.engines.netrexx.NetRexxEngine.
This is the interface to NetRexx from the Bean Scripting Framework.
NetRexxEngine() - Constructor for class org.apache.bsf.engines.netrexx.NetRexxEngine
Constructor.
name - Variable in class org.apache.bsf.BSFDeclaredBean
 

O

ObjInfo - class org.apache.bsf.util.ObjInfo.
An ObjInfo object is used by a compiler to track the name and type of a bean.
ObjInfo(Class, String) - Constructor for class org.apache.bsf.util.ObjInfo
 
ObjectRegistry - class org.apache.bsf.util.ObjectRegistry.
The ObjectRegistry is used to do name-to-object reference lookups.
ObjectRegistry() - Constructor for class org.apache.bsf.util.ObjectRegistry
 
ObjectRegistry(ObjectRegistry) - Constructor for class org.apache.bsf.util.ObjectRegistry
 
objClass - Variable in class org.apache.bsf.util.ObjInfo
 
objName - Variable in class org.apache.bsf.util.ObjInfo
 
objectRegistry - Variable in class org.apache.bsf.BSFManager
 
org.apache.bsf - package org.apache.bsf
 
org.apache.bsf.engines.jacl - package org.apache.bsf.engines.jacl
 
org.apache.bsf.engines.javascript - package org.apache.bsf.engines.javascript
 
org.apache.bsf.engines.jython - package org.apache.bsf.engines.jython
 
org.apache.bsf.engines.netrexx - package org.apache.bsf.engines.netrexx
 
org.apache.bsf.engines.xslt - package org.apache.bsf.engines.xslt
 
org.apache.bsf.util - package org.apache.bsf.util
 
org.apache.bsf.util.cf - package org.apache.bsf.util.cf
 
org.apache.bsf.util.event - package org.apache.bsf.util.event
 
org.apache.bsf.util.event.adapters - package org.apache.bsf.util.event.adapters
 
org.apache.bsf.util.event.generator - package org.apache.bsf.util.event.generator
 
org.apache.bsf.util.type - package org.apache.bsf.util.type
 

P

pcs - Variable in class org.apache.bsf.BSFManager
 
popSymbolTable() - Method in class org.apache.bsf.util.CodeBuffer
 
print(PrintWriter, boolean) - Method in class org.apache.bsf.util.CodeBuffer
 
print(int, String) - Method in class org.apache.bsf.util.IndentWriter
Print the text (indented the specified amount) without inserting a linefeed.
printStackTrace() - Method in class org.apache.bsf.BSFException
 
println(int, String) - Method in class org.apache.bsf.util.IndentWriter
Print the text (indented the specified amount) and insert a linefeed.
processEvent(String, Object[]) - Method in class org.apache.bsf.util.BSFEventProcessor
 
processEvent(String, Object[]) - Method in class org.apache.bsf.util.BSFEventProcessorReturningEventInfos
 
processEvent(String, Object[]) - Method in interface org.apache.bsf.util.event.EventProcessor
 
processExceptionableEvent(String, Object[]) - Method in class org.apache.bsf.util.BSFEventProcessor
 
processExceptionableEvent(String, Object[]) - Method in class org.apache.bsf.util.BSFEventProcessorReturningEventInfos
 
processExceptionableEvent(String, Object[]) - Method in interface org.apache.bsf.util.event.EventProcessor
 
propertyChange(PropertyChangeEvent) - Method in class org.apache.bsf.util.BSFEngineImpl
Receive property change events from the manager and update my fields as needed.
propertyChange(PropertyChangeEvent) - Method in class org.apache.bsf.util.event.adapters.java_beans_PropertyChangeAdapter
 
pushSymbolTable() - Method in class org.apache.bsf.util.CodeBuffer
 
put(String, Class) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
putSymbol(String, ObjInfo) - Method in class org.apache.bsf.util.CodeBuffer
 

R

REASON_EXECUTION_ERROR - Static variable in class org.apache.bsf.BSFException
 
REASON_INVALID_ARGUMENT - Static variable in class org.apache.bsf.BSFException
 
REASON_IO_ERROR - Static variable in class org.apache.bsf.BSFException
 
REASON_OTHER_ERROR - Static variable in class org.apache.bsf.BSFException
 
REASON_UNKNOWN_LANGUAGE - Static variable in class org.apache.bsf.BSFException
 
REASON_UNSUPPORTED_FEATURE - Static variable in class org.apache.bsf.BSFException
 
ReflectionUtils - class org.apache.bsf.util.ReflectionUtils.
This file is a collection of reflection utilities.
ReflectionUtils() - Constructor for class org.apache.bsf.util.ReflectionUtils
 
register(String, Object) - Method in class org.apache.bsf.util.ObjectRegistry
 
register(Class, Class) - Static method in class org.apache.bsf.util.event.EventAdapterRegistry
 
register(Class, Class, TypeConvertor) - Method in class org.apache.bsf.util.type.TypeConvertorRegistry
 
registerBean(String, Object) - Method in class org.apache.bsf.BSFManager
Registering a bean allows a scripting engine or the application to access that bean by name and to manipulate it.
registerBean(String, Object) - Method in class org.apache.bsf.util.BSFFunctions
 
registerByKey(Object, TypeConvertor) - Method in class org.apache.bsf.util.type.TypeConvertorRegistry
 
registerScriptingEngine(String, String, String[]) - Static method in class org.apache.bsf.BSFManager
Register a scripting engine in the static registry of the BSFManager.
registeredEngines - Static variable in class org.apache.bsf.BSFManager
 

S

StringUtils - class org.apache.bsf.util.StringUtils.
Deals with strings (probably need to elaborate some more).
StringUtils() - Constructor for class org.apache.bsf.util.StringUtils
 
setClassLoader(ClassLoader) - Method in class org.apache.bsf.BSFManager
Set the class loader for those that need to use it.
setClassLoader(ClassLoader) - Static method in class org.apache.bsf.util.event.EventAdapterRegistry
Class loader to use to load event adapter classes.
setClassName(String) - Method in class org.apache.bsf.util.CodeBuffer
 
setClassPath(String) - Method in class org.apache.bsf.BSFManager
Set the classpath for those that need to use it.
setDelimiters(String) - Method in class org.apache.bsf.util.cf.CodeFormatter
Sets the set of delimiters; default set is "(+".
setDynamic(boolean) - Static method in class org.apache.bsf.util.event.EventAdapterRegistry
Indicates whether or not to dynamically generate adapters; default is true.
setEventProcessor(EventProcessor) - Method in interface org.apache.bsf.util.event.EventAdapter
 
setEventProcessor(EventProcessor) - Method in class org.apache.bsf.util.event.EventAdapterImpl
 
setExtends(String) - Method in class org.apache.bsf.util.CodeBuffer
 
setField(Object, String, Bean, TypeConvertorRegistry) - Static method in class org.apache.bsf.util.ReflectionUtils
 
setFinalServiceMethodStatement(ObjInfo) - Method in class org.apache.bsf.util.CodeBuffer
 
setIndentationStep(int) - Method in class org.apache.bsf.util.cf.CodeFormatter
Sets the size of the indentation step; default size is 2.
setMaxLineLength(int) - Method in class org.apache.bsf.util.cf.CodeFormatter
Sets the (desired) maximum line length; default length is 74.
setObjectRegistry(ObjectRegistry) - Method in class org.apache.bsf.BSFManager
Set the object registry used by this manager.
setPackageName(String) - Method in class org.apache.bsf.util.CodeBuffer
 
setProperty(Object, String, Integer, Object, Class, TypeConvertorRegistry) - Static method in class org.apache.bsf.util.ReflectionUtils
Set a property of a bean to a given value.
setServiceMethodName(String) - Method in class org.apache.bsf.util.CodeBuffer
 
setServiceMethodReturnType(Class) - Method in class org.apache.bsf.util.CodeBuffer
 
setStickyDelimiters(String) - Method in class org.apache.bsf.util.cf.CodeFormatter
Sets the set of sticky delimiters; default set is ",".
setSymbolTable(Hashtable) - Method in class org.apache.bsf.util.CodeBuffer
 
setTempDir(String) - Method in class org.apache.bsf.BSFManager
Temporary directory to put stuff into (for those who need to).
symbolTableIsStacked() - Method in class org.apache.bsf.util.CodeBuffer
 

T

TypeConvertor - interface org.apache.bsf.util.type.TypeConvertor.
A TypeConvertor is used to convert an object of one type to one of another type.
TypeConvertorRegistry - class org.apache.bsf.util.type.TypeConvertorRegistry.
The TypeConvertorRegistry is the registry of type convertors.
TypeConvertorRegistry() - Constructor for class org.apache.bsf.util.type.TypeConvertorRegistry
 
tempDir - Variable in class org.apache.bsf.BSFManager
 
tempDir - Variable in class org.apache.bsf.util.BSFEngineImpl
 
terminate() - Method in interface org.apache.bsf.BSFEngine
Graceful termination
terminate() - Method in class org.apache.bsf.BSFManager
Gracefully terminate all engines
terminate() - Method in class org.apache.bsf.util.BSFEngineImpl
 
textValueChanged(TextEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_TextAdapter
 
toString() - Method in class org.apache.bsf.util.CodeBuffer
 
toString() - Method in class org.apache.bsf.util.ObjInfo
 
type - Variable in class org.apache.bsf.BSFDeclaredBean
 
type - Variable in class org.apache.bsf.util.Bean
 

U

undeclareBean(BSFDeclaredBean) - Method in interface org.apache.bsf.BSFEngine
Undeclare a previously declared bean.
undeclareBean(String) - Method in class org.apache.bsf.BSFManager
Undeclare a previously declared bean.
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.jacl.JaclEngine
Undeclare a previously declared bean.
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.javascript.JavaScriptEngine
 
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.jython.JythonEngine
Undeclare a previously declared bean.
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.netrexx.NetRexxEngine
 
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.engines.xslt.XSLTEngine
Undeclare a bean by setting he parameter represeting it to null
undeclareBean(BSFDeclaredBean) - Method in class org.apache.bsf.util.BSFEngineImpl
 
unregister(String) - Method in class org.apache.bsf.util.ObjectRegistry
 
unregisterBean(String) - Method in class org.apache.bsf.BSFManager
Unregister a previously registered bean.
unregisterBean(String) - Method in class org.apache.bsf.util.BSFFunctions
 
unwrap(PyObject) - Method in class org.apache.bsf.engines.jython.JythonEngine
 

V

value - Variable in class org.apache.bsf.util.Bean
 
version - Static variable in class org.apache.bsf.BSFManager
 
vetoableChange(PropertyChangeEvent) - Method in class org.apache.bsf.util.event.adapters.java_beans_VetoableChangeAdapter
 

W

windowActivated(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowClosed(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowClosing(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowDeactivated(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowDeiconified(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowIconified(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
windowOpened(WindowEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 

X

XSLTEngine - class org.apache.bsf.engines.xslt.XSLTEngine.
Xerces XSLT interface to BSF.
XSLTEngine() - Constructor for class org.apache.bsf.engines.xslt.XSLTEngine
 
XSLTResultNode - class org.apache.bsf.engines.xslt.XSLTResultNode.
 
XSLTResultNode(Node) - Constructor for class org.apache.bsf.engines.xslt.XSLTResultNode
 

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