Package org.apache.batik.bridge.svg12
Class SVG12ScriptingEnvironment.HandlerScriptingEventListener
java.lang.Object
org.apache.batik.bridge.svg12.SVG12ScriptingEnvironment.HandlerScriptingEventListener
- All Implemented Interfaces:
EventListener
- Enclosing class:
- SVG12ScriptingEnvironment
protected class SVG12ScriptingEnvironment.HandlerScriptingEventListener
extends Object
implements EventListener
To handle a scripting event with an XML Events style handler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The namespace URI of the event type.protected String
The event type.protected AbstractElement
The handler element. -
Constructor Summary
ConstructorsConstructorDescriptionHandlerScriptingEventListener
(String ns, String et, AbstractElement e) Creates a new HandlerScriptingEventListener. -
Method Summary
-
Field Details
-
eventNamespaceURI
The namespace URI of the event type. -
eventType
The event type. -
handlerElement
The handler element.
-
-
Constructor Details
-
HandlerScriptingEventListener
Creates a new HandlerScriptingEventListener.- Parameters:
ns
- Namespace URI of the event type.et
- The event type.e
- The handler element.
-
-
Method Details
-
handleEvent
Runs the script.- Specified by:
handleEvent
in interfaceEventListener
-