/* * Copyright (c) 2006 World Wide Web Consortium, * * (Massachusetts Institute of Technology, European Research Consortium for * Informatics and Mathematics, Keio University). All Rights Reserved. This * work is distributed under the W3C(r) Software License [1] in the hope that * it will be useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 */ package org.w3c.dom.events; import org.w3c.dom.Node; /** * 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 */ public interface MutationNameEvent extends MutationEvent { /** * The previous value of the relatedNode's * namespaceURI. */ public String getPrevNamespaceURI(); /** * The previous value of the relatedNode's * nodeName. */ public String getPrevNodeName(); /** * The initMutationNameEvent method is used to initialize * the value of a MutationNameEvent object and has the same * behavior as MutationEvent.initMutationEvent(). * @param typeArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @param canBubbleArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @param cancelableArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @param relatedNodeArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @param prevNamespaceURIArg Specifies * MutationNameEvent.prevNamespaceURI. This value may be * null. * @param prevNodeNameArg Specifies * MutationNameEvent.prevNodeName. * @since DOM Level 3 */ public void initMutationNameEvent(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(). * @param namespaceURI Refer to the * MutationEvent.initMutationEventNS() method for a * description of this parameter. * @param typeArg Refer to the * MutationEvent.initMutationEventNS() method for a * description of this parameter. * @param canBubbleArg Refer to the * MutationEvent.initMutationEventNS() method for a * description of this parameter. * @param cancelableArg Refer to the * MutationEvent.initMutationEventNS() method for a * description of this parameter. * @param relatedNodeArg Refer to the * MutationEvent.initMutationEventNS() method for a * description of this parameter. * @param prevNamespaceURIArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @param prevNodeNameArg Refer to the * MutationEvent.initMutationEvent() method for a * description of this parameter. * @since DOM Level 3 */ public void initMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg); }