Skip navigation links
A B C D E F G I J L M O P R S V W 

A

addClass(String) - Method in class org.apache.batik.script.ImportInfo
Add a class to the set of classes to import (must be a fully qualified classname - "java.lang.System").
addImports(URL) - Method in class org.apache.batik.script.ImportInfo
Add imports read from a URL to this ImportInfo instance.
addPackage(String) - Method in class org.apache.batik.script.ImportInfo
Add a package to the set of packages to import (must be a fully qualified package - "java.lang").

B

BatikSecurityController - Class in org.apache.batik.script.rhino
This implementation of the Rhino SecurityController interface is meant for use within the context of Batik only.
BatikSecurityController() - Constructor for class org.apache.batik.script.rhino.BatikSecurityController
 
BIND_NAME_DOCUMENT - Static variable in class org.apache.batik.script.InterpreterPool
Name of the "document" object when referenced by scripts
bindObject(String, Object) - Method in interface org.apache.batik.script.Interpreter
This method should register a particular Java Object in the environment of the interpreter.
bindObject(String, Object) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 

C

callWithDomain(Object, Context, Callable, Scriptable, Scriptable, Object[]) - Method in class org.apache.batik.script.rhino.BatikSecurityController
Calls Callable.call(Context, Scriptable, Scriptable, Object[]) of callable under restricted security domain where an action is allowed only if it is allowed according to the Java stack on the moment of the callWithDomain call and securityDomain.
classes - Variable in class org.apache.batik.script.ImportInfo
 
codeSource - Variable in class org.apache.batik.script.rhino.RhinoClassLoader
CodeSource for classes defined by this loader
createClassLoader(ClassLoader, Object) - Method in class org.apache.batik.script.rhino.BatikSecurityController
Default constructor
createInterpreter(URL, boolean, ImportInfo) - Method in interface org.apache.batik.script.InterpreterFactory
This method should create an instance of Interpreter interface implementation.
createInterpreter(URL, boolean) - Method in interface org.apache.batik.script.InterpreterFactory
This method should create an instance of Interpreter interface implementation.
createInterpreter(Document, String) - Method in class org.apache.batik.script.InterpreterPool
Creates a new interpreter for the specified document and according to the specified language.
createInterpreter(Document, String, ImportInfo) - Method in class org.apache.batik.script.InterpreterPool
Creates a new interpreter for the specified document and according to the specified language.
createInterpreter(URL, boolean) - Method in class org.apache.batik.script.jpython.JPythonInterpreterFactory
Creates an instance of JPythonInterpreter class.
createInterpreter(URL, boolean, ImportInfo) - Method in class org.apache.batik.script.jpython.JPythonInterpreterFactory
Creates an instance of JPythonInterpreter class.

D

defaultFactories - Static variable in class org.apache.batik.script.InterpreterPool
The default InterpreterFactory map.
defineClass(String, byte[]) - Method in class org.apache.batik.script.rhino.RhinoClassLoader
Define and load a Java class
dispose() - Method in interface org.apache.batik.script.Interpreter
This method can dispose resources used by the interpreter when it is no longer used.
dispose() - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
documentURL - Variable in class org.apache.batik.script.rhino.RhinoClassLoader
URL for the document referencing the script.

E

evaluate(Reader, String) - Method in interface org.apache.batik.script.Interpreter
This method should evaluate a piece of script associated to a given description.
evaluate(Reader) - Method in interface org.apache.batik.script.Interpreter
This method should evaluate a piece of script.
evaluate(String) - Method in interface org.apache.batik.script.Interpreter
This method should evaluate a piece of script using a String instead of a Reader.
evaluate(Reader) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
evaluate(Reader, String) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
evaluate(String) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 

F

factories - Variable in class org.apache.batik.script.InterpreterPool
The InterpreterFactory map.
formatMessage(String, Object[]) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
formatMessage(String, Object[]) - Static method in class org.apache.batik.script.rhino.Messages
Implements Localizable.formatMessage(String,Object[]).

G

getAccessControlContext() - Method in class org.apache.batik.script.rhino.RhinoClassLoader
Returns the AccessControlContext which should be associated with RhinoCode.
getCharacter(String) - Static method in class org.apache.batik.script.rhino.Messages
 
getClasses() - Method in class org.apache.batik.script.ImportInfo
Return an unmodifiable iterator over the list of classes
getColumnNumber() - Method in exception org.apache.batik.script.InterpreterException
Returns the column number where the error occurs.
getDynamicSecurityDomain(Object) - Method in class org.apache.batik.script.rhino.BatikSecurityController
Get dynamic security domain that allows an action only if it is allowed by the current Java stack and securityDomain.
getEventObject() - Method in interface org.apache.batik.script.ScriptEventWrapper
Returns the event object this object is wrapping.
getException() - Method in exception org.apache.batik.script.InterpreterException
Returns the embedded exception.
getImports() - Static method in class org.apache.batik.script.ImportInfo
Returns the default ImportInfo instance.
getInteger(String) - Static method in class org.apache.batik.script.rhino.Messages
 
getLineNumber() - Method in exception org.apache.batik.script.InterpreterException
Returns the line number where the error occurs.
getLocale() - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
getLocale() - Static method in class org.apache.batik.script.rhino.Messages
Implements Localizable.getLocale().
getMessage() - Method in exception org.apache.batik.script.InterpreterException
Returns the message of this exception.
getMimeTypes() - Method in interface org.apache.batik.script.Interpreter
Returns the content types of the scripting languages this interpreter handles.
getMimeTypes() - Method in interface org.apache.batik.script.InterpreterFactory
Returns the mime-types to register this interpereter with.
getMimeTypes() - Method in class org.apache.batik.script.jpython.JPythonInterpreter
Returns the content types of the scripting languages this interpreter handles.
getMimeTypes() - Method in class org.apache.batik.script.jpython.JPythonInterpreterFactory
Returns the mime-types to register this interpereter with.
getPackages() - Method in class org.apache.batik.script.ImportInfo
Return an unmodifiable iterator over the list of packages
getPermissions(CodeSource) - Method in class org.apache.batik.script.rhino.RhinoClassLoader
Returns the permissions for the given CodeSource object.
getString(String) - Static method in class org.apache.batik.script.rhino.Messages
 

I

ImportInfo - Class in org.apache.batik.script
This class represents a list of Java classes/packages to import into a scripting environment.
ImportInfo() - Constructor for class org.apache.batik.script.ImportInfo
Construct an empty ImportInfo instance
Interpreter - Interface in org.apache.batik.script
A high level interface that represents an interpreter engine for a particular scripting language.
InterpreterException - Exception in org.apache.batik.script
An exception that will be thrown when a problem is encountered in the script by an Interpreter interface implementation.
InterpreterException(String, int, int) - Constructor for exception org.apache.batik.script.InterpreterException
Builds an instance of InterpreterException.
InterpreterException(Exception, String, int, int) - Constructor for exception org.apache.batik.script.InterpreterException
Builds an instance of InterpreterException.
InterpreterFactory - Interface in org.apache.batik.script
An interface for factory objects than can create Interpreter instances for a particular script language.
InterpreterPool - Class in org.apache.batik.script
A class allowing to create/query an Interpreter corresponding to a particular Document and scripting language.
InterpreterPool() - Constructor for class org.apache.batik.script.InterpreterPool
Constructs a new InterpreterPool.

J

JPYTHON_MIMETYPES - Static variable in class org.apache.batik.script.jpython.JPythonInterpreterFactory
The MIME types that JPython can handle.
JPythonInterpreter - Class in org.apache.batik.script.jpython
A simple implementation of Interpreter interface to use JPython python parser.
JPythonInterpreter() - Constructor for class org.apache.batik.script.jpython.JPythonInterpreter
 
JPythonInterpreterFactory - Class in org.apache.batik.script.jpython
Allows to create instances of JPythonInterpreter class.
JPythonInterpreterFactory() - Constructor for class org.apache.batik.script.jpython.JPythonInterpreterFactory
Builds a JPythonInterpreterFactory.

L

linkClass(Class) - Method in class org.apache.batik.script.rhino.RhinoClassLoader
Links the Java class.
localizableSupport - Static variable in class org.apache.batik.script.rhino.Messages
The localizable support for the error messages.

M

Messages - Class in org.apache.batik.script.rhino
This class manages the message for the Rhino interpreter
Messages() - Constructor for class org.apache.batik.script.rhino.Messages
This class does not need to be instantiated.

O

org.apache.batik.script - package org.apache.batik.script
Provides an API for interpreting scripting language found in SVG files.
org.apache.batik.script.jpython - package org.apache.batik.script.jpython
Provides an API for interpreting Python language through the JPython interpreter.
org.apache.batik.script.rhino - package org.apache.batik.script.rhino
Provides an API for interpreting JavaScript language through the Rhino interpreter.

P

packages - Variable in class org.apache.batik.script.ImportInfo
 
putInterpreterFactory(String, InterpreterFactory) - Method in class org.apache.batik.script.InterpreterPool
Adds for the specified language, the specified Interpreter factory.

R

removeClass(String) - Method in class org.apache.batik.script.ImportInfo
Remove a class from the set of classes to import (must be a fully qualified classname - "java.lang.System").
removeInterpreterFactory(String) - Method in class org.apache.batik.script.InterpreterPool
Removes the InterpreterFactory associated to the specified language.
removePackage(String) - Method in class org.apache.batik.script.ImportInfo
Remove a package from the set of packages to import (must be a fully qualified package - "java.lang").
RESOURCES - Static variable in class org.apache.batik.script.rhino.Messages
The error messages bundle class name.
rhinoAccessControlContext - Variable in class org.apache.batik.script.rhino.RhinoClassLoader
The AccessControlContext which can be associated with code loaded by this class loader if it was running stand-alone (i.e., not invoked by code with lesser priviledges).
RhinoClassLoader - Class in org.apache.batik.script.rhino
This class loader implementation will work whether or not the documentURL is null.
RhinoClassLoader(URL, ClassLoader) - Constructor for class org.apache.batik.script.rhino.RhinoClassLoader
Constructor.
RhinoClassShutter - Class in org.apache.batik.script.rhino
Class shutter that restricts access to Batik internals from script.
RhinoClassShutter() - Constructor for class org.apache.batik.script.rhino.RhinoClassShutter
 

S

ScriptEventWrapper - Interface in org.apache.batik.script
Interface for objects that act as a Java wrapper for a javascript event object.
setLocale(Locale) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 
setLocale(Locale) - Static method in class org.apache.batik.script.rhino.Messages
Implements Localizable.setLocale(Locale).
setOut(Writer) - Method in interface org.apache.batik.script.Interpreter
This method should change the output Writer that will be used when output function of the scripting langage is used.
setOut(Writer) - Method in class org.apache.batik.script.jpython.JPythonInterpreter
 

V

visibleToScripts(String) - Method in class org.apache.batik.script.rhino.RhinoClassShutter
Returns whether the given class is visible to scripts.

W

WHITELIST - Static variable in class org.apache.batik.script.rhino.RhinoClassShutter
 
A B C D E F G I J L M O P R S V W 
Skip navigation links

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.