gnu.xml.dom
Class DomEvent.DomMutationEvent
java.lang.Object
|
+--gnu.xml.dom.DomEvent
|
+--gnu.xml.dom.DomEvent.DomMutationEvent
All Implemented Interfaces:
org.w3c.dom.events.MutationEvent, org.w3c.dom.events.Event
public static final class
DomEvent.DomMutationEventextends
DomEventimplements org.w3c.dom.events.MutationEvent
"MutationEvent" implementation.
DomMutationEvent
public DomMutationEvent(java.lang.String type)
Constructs an uninitialized mutation event.
Parameters:
getAttrChange
public final short getAttrChange()
For attribute change events, returns how the attribuet changed
getAttrName
public final String getAttrName()
For attribute change events, returns the attribute's name
getNewValue
public final String getNewValue()
Returns any "new value" provided by this type of event
getPrevValue
public final String getPrevValue()
Returns any "previous value" provided by this type of event
getRelatedNode
public final Node getRelatedNode()
Returns any "related" node provided by this type of event
initMutationEvent
public final void initMutationEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.Node relatedNodeArg, java.lang.String prevValueArg, java.lang.String newValueArg, java.lang.String attrNameArg, short attrChangeArg)
Initializes a mutation event
Parameters: