All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- aboutToCall(IavaMethod).
Method in interface Iava.observation.MethodCallListener
- Called by the runtime this listener is registered to before
a method is called.
- addImportListener(ImportListener).
Method in class Iava.IavaRuntime
- Adds a listener for import declarations.
- addMethodCallListener(MethodCallListener).
Method in class Iava.IavaRuntime
- Adds a listener for method calls.
- addMethodDeclListener(MethodDeclListener).
Method in class Iava.IavaRuntime
- Adds a listener for method declarations.
- addSymbolDeclListener(SymbolDeclListener).
Method in class Iava.IavaRuntime
- Adds a listener for symbol declarations.
- called(IavaMethod).
Method in interface Iava.observation.MethodCallListener
- Called by the runtime this listener is registered to after
a method was called.
- callIavaMethod(String).
Method in class Iava.IavaRuntime
- Call a method with the supplied name and no args declared within
a script.
- callIavaMethod(String, Object[]).
Method in class Iava.IavaRuntime
- Call a method with the supplied name and args declared within
a script.
- commandLine().
Method in class Iava.Iava
- Provides a line-oriented interface to the
interpreter.
- equals(Object).
Method in class Iava.IavaMethod
- Returns true, if the passed Object is an instance of
IavaMethod and it has the same name and signature
as 'this'.
- getArguments().
Method in class Iava.IavaMethod
- Returns the arguments of this IavaMethod.
- getDeclaredMethods().
Method in class Iava.IavaRuntime
- Returns all public methods declared by Iava scripts within this
runtime object.
- getMethods().
Method in class Iava.IavaRuntime
- Returns all private and public methods declared by Iava scripts
within this runtime.
- getMethodScope().
Method in class Iava.IavaRuntime
- Get the scoping rule for methods declared within a script.
- getName().
Method in class Iava.IavaMethod
- Returns the name of this IavaMethod.
- getSharedFieldValue(String).
Method in class Iava.IavaRuntime
- Retrieve the value of a shared field (that was probably changed
during script execution).
- getVariableScope().
Method in class Iava.IavaRuntime
- Get the scoping rule for variables declared within a script.
- GLOBAL_SCOPE.
Static variable in class Iava.IavaRuntime
- Declarations within script are kept after
script execution such that they are available
to scripts executed later.
- hookedUp().
Method in interface Iava.Scriptable
- Returns true if the scriptable is in possession of a
valid reference to a IavaRuntime object.
- hookUp(IavaRuntime).
Method in interface Iava.Scriptable
- Provides a scriptable with a IavaRuntime object.
- Iava().
Constructor for class Iava.Iava
- Initializes the interpreter by creating a
IavaRuntime.
- Iava(IavaRuntime).
Constructor for class Iava.Iava
- Initializes the interpreter with the supplied
IavaRuntime.
- IavaRuntime().
Constructor for class Iava.IavaRuntime
-
- IavaRuntime(Object, Class).
Constructor for class Iava.IavaRuntime
- Create a IavaRuntime with context as the embedding object
and returnType as mandatory return type of a script executed
within this IavaRuntime object.
- importDeclared(String).
Method in interface Iava.observation.ImportListener
- Called by the runtime this listener is registered
to when a new symbol is declared.
- interpret(String).
Method in class Iava.Iava
- Interprets the code contained in the supplied script
and returns the result that was returned by the script.
- interpreterWindow(String).
Method in class Iava.Iava
- Creates an interpreter window with the supplied
title.
- interpretFile(String).
Method in class Iava.Iava
- Interprets the file with the supplied filename and
returns the result that was returned by the script.
- invoke(IavaRuntime, Object[]).
Method in class Iava.IavaMethod
- Invokes this IavaMethod within the supplied runtime
object and with the given parameters.
- isPublic().
Method in class Iava.IavaMethod
- Returns true, if this IavaMethod is public.
- isReturned().
Method in class Iava.IavaRuntime
- This method returns true if a script executed within
this runtime has finished execution.
- main(String[]).
Static method in class Iava.Iava
- Provides command line access to the Iava
interpreter.
- methodDeclared(IavaMethod).
Method in interface Iava.observation.MethodDeclListener
- Called by the runtime this listener is registered to when
a new method is declared.
- original().
Method in class Iava.IError
- Return the original Error or Exception wrapped by this instance
of IError.
- printStackTrace().
Method in class Iava.IError
-
- printStackTrace(PrintStream).
Method in class Iava.IError
-
- printStackTrace(PrintWriter).
Method in class Iava.IError
-
- removeImportListener(ImportListener).
Method in class Iava.IavaRuntime
- Removes the specified listener for import declarations.
- removeMethodCallListener(MethodCallListener).
Method in class Iava.IavaRuntime
- Removes the specified listener for method calls.
- removeMethodDeclListener(MethodDeclListener).
Method in class Iava.IavaRuntime
- Removes the specified listener for method declarations.
- removeSymbolDeclListener(SymbolDeclListener).
Method in class Iava.IavaRuntime
- Removes the specified listener for symbol declarations.
- returnedObject().
Method in class Iava.IavaRuntime
- If a return type was declared for script(s) executed within
this runtime, this method retrieves the returned value.
- returnType().
Method in class Iava.IavaMethod
- Returns the return type of this IavaMethod.
- scopeClosed().
Method in interface Iava.observation.MethodDeclListener
- Called by the runtime this listener is registered to after
script execution, if the runtime's scoping policy is set
to SCRIPT_SCOPE.
- SCRIPT_SCOPE.
Static variable in class Iava.IavaRuntime
- Declarations within script are discarded
after script execution such that they are
not available to scripts executed later.
- setArgument(String, Class, Object, boolean).
Method in class Iava.IavaRuntime
- Pass an argument to the script(s) executed by this IavaRuntime.
- setMethodScope(int).
Method in class Iava.IavaRuntime
- Set the scoping rule for methods declared within a script.
- setVariableScope(int).
Method in class Iava.IavaRuntime
- Set the scoping rule for variables declared within a script.
- shareField(String, Class, Object, boolean).
Method in class Iava.IavaRuntime
- Share a field with the script(s) executed by this IavaRuntime.
- symbolDeclared(String, Class, Object).
Method in interface Iava.observation.SymbolDeclListener
- Called by the runtime this listener is registered to when a new symbol is
declared.
- symbolScopeClosed().
Method in interface Iava.observation.SymbolDeclListener
- Called by the runtime when a scope is closed (i.e.
- syntaxCheck(String).
Method in class Iava.Iava
- Performs a syntax check on the specified script and
throws a parser error, if the code was not correct.
- syntaxCheckFile(String).
Method in class Iava.Iava
- Performs a syntax check on the file with the supplied filename and
throws a parser error, if the code in the file was not correct or a
file not found exception if the file could not be read.
- toString().
Method in class Iava.IavaMethod
- Returns a String representation of this IavaMethod.
- toString().
Method in class Iava.IError
-
- updateSharedField(String, Object).
Method in class Iava.IavaRuntime
- Update the value of a shared field such that the new value
is available to script(s) exeucted within this IavaRuntime.