Package org.apache.batik.bridge.svg12
Class SVG12ScriptingEnvironment.HandlerScriptingEventListener
- java.lang.Object
-
- org.apache.batik.bridge.svg12.SVG12ScriptingEnvironment.HandlerScriptingEventListener
-
- All Implemented Interfaces:
org.w3c.dom.events.EventListener
- Enclosing class:
- SVG12ScriptingEnvironment
protected class SVG12ScriptingEnvironment.HandlerScriptingEventListener extends java.lang.Object implements org.w3c.dom.events.EventListenerTo handle a scripting event with an XML Events style handler.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringeventNamespaceURIThe namespace URI of the event type.protected java.lang.StringeventTypeThe event type.protected AbstractElementhandlerElementThe handler element.
-
Constructor Summary
Constructors Constructor Description HandlerScriptingEventListener(java.lang.String ns, java.lang.String et, AbstractElement e)Creates a new HandlerScriptingEventListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(org.w3c.dom.events.Event evt)Runs the script.
-
-
-
Field Detail
-
eventNamespaceURI
protected java.lang.String eventNamespaceURI
The namespace URI of the event type.
-
eventType
protected java.lang.String eventType
The event type.
-
handlerElement
protected AbstractElement handlerElement
The handler element.
-
-
Constructor Detail
-
HandlerScriptingEventListener
public HandlerScriptingEventListener(java.lang.String ns, java.lang.String et, AbstractElement e)Creates a new HandlerScriptingEventListener.- Parameters:
ns- Namespace URI of the event type.et- The event type.e- The handler element.
-
-