org.apache.batik.bridge.svg12

Class SVG12ScriptingEnvironment.HandlerScriptingEventListener

protected class SVG12ScriptingEnvironment.HandlerScriptingEventListener extends Object implements EventListener

To handle a scripting event with an XML Events style handler.
Field Summary
protected StringeventNamespaceURI
The namespace URI of the event type.
protected StringeventType
The event type.
protected AbstractElementhandlerElement
The handler element.
Constructor Summary
HandlerScriptingEventListener(String ns, String et, AbstractElement e)
Creates a new HandlerScriptingEventListener.
Method Summary
voidhandleEvent(Event evt)
Runs the script.

Field Detail

eventNamespaceURI

protected String eventNamespaceURI
The namespace URI of the event type.

eventType

protected String eventType
The event type.

handlerElement

protected AbstractElement handlerElement
The handler element.

Constructor Detail

HandlerScriptingEventListener

public HandlerScriptingEventListener(String ns, String et, AbstractElement e)
Creates a new HandlerScriptingEventListener.

Parameters: ns Namespace URI of the event type. et The event type. e The handler element.

Method Detail

handleEvent

public void handleEvent(Event evt)
Runs the script.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.