Interface MutationNameEvent

  • All Superinterfaces:
    org.w3c.dom.events.Event, org.w3c.dom.events.MutationEvent
    All Known Implementing Classes:
    DOMMutationNameEvent

    public interface MutationNameEvent
    extends org.w3c.dom.events.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
    • Field Summary

      • Fields inherited from interface org.w3c.dom.events.Event

        AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
      • Fields inherited from interface org.w3c.dom.events.MutationEvent

        ADDITION, MODIFICATION, REMOVAL
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getPrevNamespaceURI()
      The previous value of the relatedNode's namespaceURI.
      java.lang.String getPrevNodeName()
      The previous value of the relatedNode's nodeName.
      void initMutationNameEvent​(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.Node relatedNodeArg, java.lang.String prevNamespaceURIArg, java.lang.String prevNodeNameArg)
      The initMutationNameEvent method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEvent().
      void initMutationNameEventNS​(java.lang.String namespaceURI, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.Node relatedNodeArg, java.lang.String prevNamespaceURIArg, java.lang.String prevNodeNameArg)
      The initMutationNameEventNS method is used to initialize the value of a MutationNameEvent object and has the same behavior as MutationEvent.initMutationEventNS().
      • Methods inherited from interface org.w3c.dom.events.Event

        getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
      • Methods inherited from interface org.w3c.dom.events.MutationEvent

        getAttrChange, getAttrName, getNewValue, getPrevValue, getRelatedNode, initMutationEvent
    • Method Detail

      • getPrevNamespaceURI

        java.lang.String getPrevNamespaceURI()
        The previous value of the relatedNode's namespaceURI.
      • getPrevNodeName

        java.lang.String getPrevNodeName()
        The previous value of the relatedNode's nodeName.
      • initMutationNameEvent

        void initMutationNameEvent​(java.lang.String typeArg,
                                   boolean canBubbleArg,
                                   boolean cancelableArg,
                                   org.w3c.dom.Node relatedNodeArg,
                                   java.lang.String prevNamespaceURIArg,
                                   java.lang.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

        void initMutationNameEventNS​(java.lang.String namespaceURI,
                                     java.lang.String typeArg,
                                     boolean canBubbleArg,
                                     boolean cancelableArg,
                                     org.w3c.dom.Node relatedNodeArg,
                                     java.lang.String prevNamespaceURIArg,
                                     java.lang.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