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 StringThe namespace URI of the event type.protected StringThe event type.protected AbstractElementThe 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:
handleEventin interfaceEventListener
-