Index

A B C D E F G I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

actionPerformed(ActionEvent) - Method in class org.apache.bsf.util.event.adapters.java_awt_event_ActionAdapter
 
AdapterClassLoader - Class in org.apache.bsf.util.event.generator
 
AdapterClassLoader() - Constructor for class org.apache.bsf.util.event.generator.AdapterClassLoader
 
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[], short) - 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
 
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, 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.
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.

B

bean - Variable in class org.apache.bsf.BSFDeclaredBean
 
Bean - Class in org.apache.bsf.util
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
 
BSFDeclaredBean - Class in org.apache.bsf
BSFDeclaredBeans are used internally by BSF to encapsulate information being passed between a BSFManager and its various BSFEngines.
BSFEngine - Interface in org.apache.bsf
This is the view of a scripting engine assumed by the Bean Scripting Framework.
BSFEngineImpl - Class in org.apache.bsf.util
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 in org.apache.bsf.util
This is used to support binding scripts to be run when an event occurs.
BSFEventProcessorReturningEventInfos - Class in org.apache.bsf.util
This is used to support binding scripts to be run when an event occurs, forwarding the arguments supplied to the event listener.
BSFException - Exception Class in org.apache.bsf
If something goes wrong while doing some scripting stuff, one of these is thrown.
BSFException(int, String) - Constructor for exception class org.apache.bsf.BSFException
 
BSFException(int, String, Throwable) - Constructor for exception class org.apache.bsf.BSFException
 
BSFException(String) - Constructor for exception class org.apache.bsf.BSFException
 
BSFFunctions - Class in org.apache.bsf.util
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 in org.apache.bsf
This class is the entry point to the bean scripting framework.
BSFManager() - Constructor for class org.apache.bsf.BSFManager
 
buildNewSymbol(String) - Method in class org.apache.bsf.util.CodeBuffer
 
byteArrayToDouble(byte[]) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
byteArrayToDouble(byte[], 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
 
Bytecode - Class in org.apache.bsf.util.event.generator
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
 
byteToHexString(byte) - Static method in class org.apache.bsf.util.event.generator.ByteUtility
 
ByteUtility - Class in org.apache.bsf.util.event.generator
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
 

C

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
 
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.
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.
CFDriver - Class in org.apache.bsf.util.cf
This is an example of how a CodeFormatter bean can be used.
CFDriver() - Constructor for class org.apache.bsf.util.cf.CFDriver
Not used.
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
 
CodeBuffer - Class in org.apache.bsf.util
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 in org.apache.bsf.util.cf
A CodeFormatter bean is used to format raw Java code.
CodeFormatter() - Constructor for class org.apache.bsf.util.cf.CodeFormatter
 
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, int, int, Object, Vector, Vector, CodeBuffer) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of compileApply - calls compileExpr ignoring parameters.
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.
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, 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.
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.
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, 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.
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.
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(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.
createBean(String, Object[]) - Static method in class org.apache.bsf.util.EngineUtils
Creates a new bean.

D

declareBean(String, Object, Class) - Method in class org.apache.bsf.BSFManager
Declare a bean.
declareBean(BSFDeclaredBean) - Method in interface org.apache.bsf.BSFEngine
Declare a bean after the engine has been started.
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
 
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_S_DELIM - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default set of sticky delimiters.
DEFAULT_STEP - Static variable in class org.apache.bsf.util.cf.CodeFormatter
The default size of the indentation step.
defineClass(String, byte[]) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 

E

EngineUtils - Class in org.apache.bsf.util
This class contains utilities that language integrators can use when implementing the BSFEngine interface.
EngineUtils() - Constructor for class org.apache.bsf.util.EngineUtils
 
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.
EventAdapter - Interface in org.apache.bsf.util.event
EventAdapter is the interface that all event adapters must implement in order to work with the automatic event adapter generation model.
EventAdapterGenerator - Class in org.apache.bsf.util.event.generator
EventAdapterGenerator Generate an "Event Adapter" dynamically during program execution
EventAdapterGenerator() - Constructor for class org.apache.bsf.util.event.generator.EventAdapterGenerator
 
EventAdapterImpl - Class in org.apache.bsf.util.event
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 in org.apache.bsf.util.event
The EventAdapterRegistry is the registry of event adapters.
EventAdapterRegistry() - Constructor for class org.apache.bsf.util.event.EventAdapterRegistry
 
eventProcessor - Variable in class org.apache.bsf.util.event.EventAdapterImpl
 
EventProcessor - Interface in org.apache.bsf.util.event
EventProcessor is the interface that event adapters use to delegate events they received to be delivered to the appropriate target.
exec(String, int, int, Object) - Method in interface org.apache.bsf.BSFEngine
This is used by an application to execute some script.
exec(String, int, int, Object) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of execute - calls eval and ignores the result.
exec(String, String, int, int, Object) - Method in class org.apache.bsf.BSFManager
Execute the given script of the given language.
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
 
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 exception 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 exception 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

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, int, int, Object) - Method in class org.apache.bsf.util.BSFEngineImpl
Default impl of interactive execution - calls eval and ignores the result.
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.
IndentWriter - Class in org.apache.bsf.util
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.
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.util.BSFEngineImpl
initialize the engine; called right after construction by the manager.
IOUtils - Class in org.apache.bsf.util
This file is a collection of input/output utilities.
IOUtils() - Constructor for class org.apache.bsf.util.IOUtils
 
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

java_awt_event_ActionAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_ActionAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ActionAdapter
 
java_awt_event_AdjustmentAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_AdjustmentAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_AdjustmentAdapter
 
java_awt_event_ComponentAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_ComponentAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ComponentAdapter
 
java_awt_event_ContainerAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_ContainerAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ContainerAdapter
 
java_awt_event_FocusAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_FocusAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_FocusAdapter
 
java_awt_event_ItemAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_ItemAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_ItemAdapter
 
java_awt_event_KeyAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_KeyAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_KeyAdapter
 
java_awt_event_MouseAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_MouseAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_MouseAdapter
 
java_awt_event_MouseMotionAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_MouseMotionAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_MouseMotionAdapter
 
java_awt_event_TextAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_TextAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_TextAdapter
 
java_awt_event_WindowAdapter - Class in org.apache.bsf.util.event.adapters
 
java_awt_event_WindowAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_awt_event_WindowAdapter
 
java_beans_PropertyChangeAdapter - Class in org.apache.bsf.util.event.adapters
 
java_beans_PropertyChangeAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_beans_PropertyChangeAdapter
 
java_beans_VetoableChangeAdapter - Class in org.apache.bsf.util.event.adapters
 
java_beans_VetoableChangeAdapter() - Constructor for class org.apache.bsf.util.event.adapters.java_beans_VetoableChangeAdapter
 
JavaUtils - Class in org.apache.bsf.util
 
JavaUtils() - Constructor for class org.apache.bsf.util.JavaUtils
 
JDKcompile(String, String) - Static method in class org.apache.bsf.util.JavaUtils
 

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(String, boolean) - Method in class org.apache.bsf.util.event.generator.AdapterClassLoader
 
loadClass(BSFManager, String) - Static method in class org.apache.bsf.util.EngineUtils
Load a class using the class loader of given manager.
loadedEngines - Variable in class org.apache.bsf.BSFManager
 
loadScriptingEngine(String) - Method in class org.apache.bsf.BSFManager
Load a scripting engine based on the lang string identifying it.
lookup(Class) - Static method in class org.apache.bsf.util.event.EventAdapterRegistry
 
lookup(Class, Class) - Method in class org.apache.bsf.util.type.TypeConvertorRegistry
 
lookup(String) - Method in class org.apache.bsf.util.ObjectRegistry
 
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(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.
Main - Class in org.apache.bsf
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
 
makeEventAdapterClass(Class, boolean) - Static method in class org.apache.bsf.util.event.generator.EventAdapterGenerator
 
merge(CodeBuffer) - Method in class org.apache.bsf.util.CodeBuffer
 
MethodUtils - Class in org.apache.bsf.util
This file is a collection of reflection utilities for dealing with methods and constructors.
MethodUtils() - Constructor for class org.apache.bsf.util.MethodUtils
 
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

name - Variable in class org.apache.bsf.BSFDeclaredBean
 

O

objClass - Variable in class org.apache.bsf.util.ObjInfo
 
objectRegistry - Variable in class org.apache.bsf.BSFManager
 
ObjectRegistry - Class in org.apache.bsf.util
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
 
ObjInfo - Class in org.apache.bsf.util
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
 
objName - Variable in class org.apache.bsf.util.ObjInfo
 
org.apache.bsf - package org.apache.bsf
 
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(int, String) - Method in class org.apache.bsf.util.IndentWriter
Print the text (indented the specified amount) without inserting a linefeed.
print(PrintWriter, boolean) - Method in class org.apache.bsf.util.CodeBuffer
 
println(int, String) - Method in class org.apache.bsf.util.IndentWriter
Print the text (indented the specified amount) and insert a linefeed.
printStackTrace() - Method in exception class org.apache.bsf.BSFException
 
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 exception class org.apache.bsf.BSFException
 
REASON_INVALID_ARGUMENT - Static variable in exception class org.apache.bsf.BSFException
 
REASON_IO_ERROR - Static variable in exception class org.apache.bsf.BSFException
 
REASON_OTHER_ERROR - Static variable in exception class org.apache.bsf.BSFException
 
REASON_UNKNOWN_LANGUAGE - Static variable in exception class org.apache.bsf.BSFException
 
REASON_UNSUPPORTED_FEATURE - Static variable in exception class org.apache.bsf.BSFException
 
ReflectionUtils - Class in org.apache.bsf.util
This file is a collection of reflection utilities.
ReflectionUtils() - Constructor for class org.apache.bsf.util.ReflectionUtils
 
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
 
register(String, Object) - Method in class org.apache.bsf.util.ObjectRegistry
 
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
 
registeredEngines - Static variable in class org.apache.bsf.BSFManager
 
registerScriptingEngine(String, String, String[]) - Static method in class org.apache.bsf.BSFManager
Register a scripting engine in the static registry of the BSFManager.

S

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).
StringUtils - Class in org.apache.bsf.util
Deals with strings (probably need to elaborate some more).
StringUtils() - Constructor for class org.apache.bsf.util.StringUtils
 
symbolTableIsStacked() - Method in class org.apache.bsf.util.CodeBuffer
 

T

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
 
TypeConvertor - Interface in org.apache.bsf.util.type
A TypeConvertor is used to convert an object of one type to one of another type.
TypeConvertorRegistry - Class in org.apache.bsf.util.type
The TypeConvertorRegistry is the registry of type convertors.
TypeConvertorRegistry() - Constructor for class org.apache.bsf.util.type.TypeConvertorRegistry
 

U

undeclareBean(String) - Method in class org.apache.bsf.BSFManager
Undeclare a previously declared bean.
undeclareBean(BSFDeclaredBean) - Method in interface org.apache.bsf.BSFEngine
Undeclare a previously declared bean.
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
 

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
 
A B C D E F G I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form