| Home >> All >> org >> apache >> batik >> [ script Javadoc ] |
| | org.apache.batik.script.jacl.* (2) | | org.apache.batik.script.jpython.* (2) |
| | org.apache.batik.script.rhino.* (10) |
org.apache.batik.script: Javadoc index of package org.apache.batik.script.
Package Samples:
org.apache.batik.script.jacl: Provides an API for interpreting scripting language found in SVG files.
org.apache.batik.script.rhino
org.apache.batik.script.jpython
Classes:
ScriptHandler: This interface must be implemented in order to call Java code from an SVG document. A ScriptHandler instance is called when a 'script' element's 'type' attribute value is 'application/java-archive' and when the manifest of the jar file referenced by the 'xlink:href' attribute contains a 'Script-Handler' entry. The value of this entry must be the classname of the ScriptHandler to call. This classes implementing this interface must have a default constructor.
EventTargetWrapper: A class that wraps an EventTarget instance to expose it in the Rhino engine. Then calling addEventListener with a Rhino function as parameter should redirect the call to addEventListener with a Java function object calling the Rhino function. This class also allows to pass an ECMAScript (Rhino) object as a parameter instead of a function provided the fact that this object has a handleEvent method.
InterpreterPool: A class allowing to create/query an Interpreter corresponding to a particular Document and scripting language. By default, it is able to create interpreters for ECMAScript, Python and Tcl scripting languages if you provide the right jar files in your CLASSPATH (i.e. Rhino, JPython and Jacl jar files).
BatikSecurityController: This implementation of the Rhino SecurityController interface is meant for use within the context of Batik only. It is a partial implementation of the interface that does what is needed by Batik and no more.
ScriptSelfTest: Helper class to simplify writing the unitTesting.xml file for scripting. The "id" for the test needs to be the path of the selft contained SVG test, starting from: /test-resources/org/apache/batik/
BatikWrapFactory: This is an utility class allowing to pass an ECMAScript function as a parameter of the addEventListener method of EventTarget objects as DOM Level 2 recommendation required.
InterpreterFactory: An hight level interface that represents a factory allowing to create instances of a particular Interpreter interface implementation.
InterpreterException: An exception that will be thrown when a problem is encountered in the script by an Interpreter interface implementation.
WindowWrapper: This class wraps a Window object to expose it to the interpreter. This will be the Global Object of our interpreter.
Interpreter: An hight level interface that represents an interpreter engine of a particular scripting language.
Window: This interface represents the 'window' object defined in the global environment of a SVG document.
RhinoInterpreter: A simple implementation of Interpreter interface to use Rhino ECMAScript interpreter.
JPythonInterpreter: A simple implementation of Interpreter interface to use JPython python parser.
JaclInterpreter: A simple implementation of Interpreter interface to use JACL Tcl parser.
RhinoClassLoader: This class loader implementation will work whether or not the documentURL is null.
JPythonInterpreterFactory: Allows to create instances of JPythonInterpreter class.
RhinoInterpreterFactory: Allows to create instances of RhinoInterpreter class.
JaclInterpreterFactory: Allows to create instances of JaclInterpreter class.
Messages: This class manages the message for the Rhino interpreter
RhinoClassShutter: One line Class Desc Complete Class Desc
| Home | Contact Us | Privacy Policy | Terms of Service |