001: /*
002: * Copyright (c) 2006 World Wide Web Consortium,
003: *
004: * (Massachusetts Institute of Technology, European Research Consortium for
005: * Informatics and Mathematics, Keio University). All Rights Reserved. This
006: * work is distributed under the W3C(r) Software License [1] in the hope that
007: * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
008: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
009: *
010: * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
011: */
012:
013: package org.w3c.dom.events;
014:
015: import org.w3c.dom.Node;
016:
017: /**
018: * The <code>MutationNameEvent</code> interface provides specific contextual
019: * information associated with Mutation name event types.
020: * <p> To create an instance of the <code>MutationNameEvent</code> interface,
021: * use the <code>Document.createEvent("MutationNameEvent")</code> method
022: * call.
023: * <p>See also the <a href='http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413'>
024: Document Object Model (DOM) Level 3 Events Specification
025: </a>.
026: * @since DOM Level 3
027: */
028: public interface MutationNameEvent extends MutationEvent {
029: /**
030: * The previous value of the <code>relatedNode</code>'s
031: * <code>namespaceURI</code>.
032: */
033: public String getPrevNamespaceURI();
034:
035: /**
036: * The previous value of the <code>relatedNode</code>'s
037: * <code>nodeName</code>.
038: */
039: public String getPrevNodeName();
040:
041: /**
042: * The <code>initMutationNameEvent</code> method is used to initialize
043: * the value of a <code>MutationNameEvent</code> object and has the same
044: * behavior as <code>MutationEvent.initMutationEvent()</code>.
045: * @param typeArg Refer to the
046: * <code>MutationEvent.initMutationEvent()</code> method for a
047: * description of this parameter.
048: * @param canBubbleArg Refer to the
049: * <code>MutationEvent.initMutationEvent()</code> method for a
050: * description of this parameter.
051: * @param cancelableArg Refer to the
052: * <code>MutationEvent.initMutationEvent()</code> method for a
053: * description of this parameter.
054: * @param relatedNodeArg Refer to the
055: * <code>MutationEvent.initMutationEvent()</code> method for a
056: * description of this parameter.
057: * @param prevNamespaceURIArg Specifies
058: * <code>MutationNameEvent.prevNamespaceURI</code>. This value may be
059: * <code>null</code>.
060: * @param prevNodeNameArg Specifies
061: * <code>MutationNameEvent.prevNodeName</code>.
062: * @since DOM Level 3
063: */
064: public void initMutationNameEvent(String typeArg,
065: boolean canBubbleArg, boolean cancelableArg,
066: Node relatedNodeArg, String prevNamespaceURIArg,
067: String prevNodeNameArg);
068:
069: /**
070: * The <code>initMutationNameEventNS</code> method is used to initialize
071: * the value of a <code>MutationNameEvent</code> object and has the same
072: * behavior as <code>MutationEvent.initMutationEventNS()</code>.
073: * @param namespaceURI Refer to the
074: * <code>MutationEvent.initMutationEventNS()</code> method for a
075: * description of this parameter.
076: * @param typeArg Refer to the
077: * <code>MutationEvent.initMutationEventNS()</code> method for a
078: * description of this parameter.
079: * @param canBubbleArg Refer to the
080: * <code>MutationEvent.initMutationEventNS()</code> method for a
081: * description of this parameter.
082: * @param cancelableArg Refer to the
083: * <code>MutationEvent.initMutationEventNS()</code> method for a
084: * description of this parameter.
085: * @param relatedNodeArg Refer to the
086: * <code>MutationEvent.initMutationEventNS()</code> method for a
087: * description of this parameter.
088: * @param prevNamespaceURIArg Refer to the
089: * <code>MutationEvent.initMutationEvent()</code> method for a
090: * description of this parameter.
091: * @param prevNodeNameArg Refer to the
092: * <code>MutationEvent.initMutationEvent()</code> method for a
093: * description of this parameter.
094: * @since DOM Level 3
095: */
096: public void initMutationNameEventNS(String namespaceURI,
097: String typeArg, boolean canBubbleArg,
098: boolean cancelableArg, Node relatedNodeArg,
099: String prevNamespaceURIArg, String prevNodeNameArg);
100:
101: }
|