org.w3c.dom.events

Interface MutationNameEvent

public interface MutationNameEvent extends MutationEvent

The MutationNameEvent interface provides specific contextual information associated with Mutation name event types.

To create an instance of the MutationNameEvent interface, use the Document.createEvent("MutationNameEvent") method call.

See also the Document Object Model (DOM) Level 3 Events Specification .

Since: DOM Level 3

Method Summary
StringgetPrevNamespaceURI()
The previous value of the relatedNode's namespaceURI.
StringgetPrevNodeName()
The previous value of the relatedNode's nodeName.
voidinitMutationNameEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg)
The initMutationNameEvent method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEvent().
voidinitMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg)
The initMutationNameEventNS method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEventNS().

Method Detail

getPrevNamespaceURI

public String getPrevNamespaceURI()
The previous value of the relatedNode's namespaceURI.

getPrevNodeName

public String getPrevNodeName()
The previous value of the relatedNode's nodeName.

initMutationNameEvent

public void initMutationNameEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg)
The initMutationNameEvent method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEvent().

Parameters: typeArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter. canBubbleArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter. cancelableArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter. relatedNodeArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter. prevNamespaceURIArg Specifies MutationNameEvent.prevNamespaceURI. This value may be null. prevNodeNameArg Specifies MutationNameEvent.prevNodeName.

Since: DOM Level 3

initMutationNameEventNS

public void initMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg)
The initMutationNameEventNS method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEventNS().

Parameters: namespaceURI Refer to the MutationEvent.initMutationEventNS() method for a description of this parameter. typeArg Refer to the MutationEvent.initMutationEventNS() method for a description of this parameter. canBubbleArg Refer to the MutationEvent.initMutationEventNS() method for a description of this parameter. cancelableArg Refer to the MutationEvent.initMutationEventNS() method for a description of this parameter. relatedNodeArg Refer to the MutationEvent.initMutationEventNS() method for a description of this parameter. prevNamespaceURIArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter. prevNodeNameArg Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.

Since: DOM Level 3

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.