gnu.xml.dom

Class DomEvent.DomMutationEvent

public static final class DomEvent.DomMutationEvent extends DomEvent implements MutationEvent

"MutationEvent" implementation.
Constructor Summary
DomMutationEvent(String type)
Constructs an uninitialized mutation event.
Method Summary
shortgetAttrChange()
For attribute change events, returns how the attribuet changed
StringgetAttrName()
For attribute change events, returns the attribute's name
StringgetNewValue()
Returns any "new value" provided by this type of event
StringgetPrevValue()
Returns any "previous value" provided by this type of event
NodegetRelatedNode()
Returns any "related" node provided by this type of event
voidinitMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
Initializes a mutation event

Constructor Detail

DomMutationEvent

public DomMutationEvent(String type)
Constructs an uninitialized mutation event.

Method Detail

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(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
Initializes a mutation event

Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.