Package org.apache.batik.dom.events
Class DOMMutationNameEvent
java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMMutationEvent
org.apache.batik.dom.events.DOMMutationNameEvent
- All Implemented Interfaces:
Cloneable
,OriginalEvent
,MutationNameEvent
,Event
,MutationEvent
Class to implement DOM 3 MutationName events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The node's previous namespace URI.protected String
The node's previous name.Fields inherited from class org.apache.batik.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Fields inherited from interface org.w3c.dom.events.MutationEvent
ADDITION, MODIFICATION, REMOVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the node's previous namespace URI.Gets the node's previous node name.void
initMutationNameEvent
(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) Initializes this MutationNameEvent.void
initMutationNameEventNS
(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) Initializes this MutationNameEvent.Methods inherited from class org.apache.batik.dom.events.DOMMutationEvent
getAttrChange, getAttrName, getNewValue, getPrevValue, getRelatedNode, initMutationEvent, initMutationEventNS
Methods inherited from class org.apache.batik.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
Methods inherited from interface org.w3c.dom.events.MutationEvent
getAttrChange, getAttrName, getNewValue, getPrevValue, getRelatedNode, initMutationEvent
-
Field Details
-
prevNamespaceURI
The node's previous namespace URI. -
prevNodeName
The node's previous name.
-
-
Constructor Details
-
DOMMutationNameEvent
public DOMMutationNameEvent()
-
-
Method Details
-
initMutationNameEvent
public void initMutationNameEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) Initializes this MutationNameEvent.- Specified by:
initMutationNameEvent
in interfaceMutationNameEvent
- Parameters:
typeArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.canBubbleArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.cancelableArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.relatedNodeArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.prevNamespaceURIArg
- SpecifiesMutationNameEvent.prevNamespaceURI
. This value may benull
.prevNodeNameArg
- SpecifiesMutationNameEvent.prevNodeName
.
-
initMutationNameEventNS
public void initMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) Initializes this MutationNameEvent.- Specified by:
initMutationNameEventNS
in interfaceMutationNameEvent
- Parameters:
namespaceURI
- Refer to theMutationEvent.initMutationEventNS()
method for a description of this parameter.typeArg
- Refer to theMutationEvent.initMutationEventNS()
method for a description of this parameter.canBubbleArg
- Refer to theMutationEvent.initMutationEventNS()
method for a description of this parameter.cancelableArg
- Refer to theMutationEvent.initMutationEventNS()
method for a description of this parameter.relatedNodeArg
- Refer to theMutationEvent.initMutationEventNS()
method for a description of this parameter.prevNamespaceURIArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.prevNodeNameArg
- Refer to theMutationEvent.initMutationEvent()
method for a description of this parameter.
-
getPrevNamespaceURI
Gets the node's previous namespace URI.- Specified by:
getPrevNamespaceURI
in interfaceMutationNameEvent
-
getPrevNodeName
Gets the node's previous node name.- Specified by:
getPrevNodeName
in interfaceMutationNameEvent
-