Class MutationRecord

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class MutationRecord
    extends HtmlUnitScriptable
    A JavaScript object for MutationRecord.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private NodeList addedNodes_  
      private java.lang.String attributeName_  
      private Node nextSibling_  
      private java.lang.String oldValue_  
      private Node previousSibling_  
      private NodeList removedNodes_  
      private org.htmlunit.corejs.javascript.ScriptableObject target_  
      private java.lang.String type_  
      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      MutationRecord()
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NodeList getAddedNodes()  
      java.lang.String getAttributeName()
      Returns the attributeName property.
      Node getNextSibling()  
      java.lang.String getOldValue()
      Returns the oldValue property.
      Node getPreviousSibling()  
      NodeList getRemovedNodes()  
      org.htmlunit.corejs.javascript.ScriptableObject getTarget()
      Returns the target property.
      java.lang.String getType()
      Returns the type property.
      void jsConstructor()
      JavaScript constructor.
      (package private) void setAddedNodes​(NodeList addedNodes)
      Sets the addedNodes property.
      (package private) void setAttributeName​(java.lang.String attributeName)
      Sets the attributeName property.
      (package private) void setNextSibling​(Node nextSibling)
      Sets the nextSibling property.
      (package private) void setOldValue​(java.lang.String oldValue)
      Sets the oldValue property.
      (package private) void setPreviousSibling​(Node previousSibling)
      Sets the previousSibling property.
      (package private) void setRemovedNodes​(NodeList removedNodes)
      Sets the removedNodes property.
      (package private) void setTarget​(org.htmlunit.corejs.javascript.ScriptableObject target)
      Sets the target property.
      (package private) void setType​(java.lang.String type)
      Sets the type property.
      • Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type_

        private java.lang.String type_
      • target_

        private org.htmlunit.corejs.javascript.ScriptableObject target_
      • oldValue_

        private java.lang.String oldValue_
      • attributeName_

        private java.lang.String attributeName_
      • addedNodes_

        private NodeList addedNodes_
      • removedNodes_

        private NodeList removedNodes_
      • previousSibling_

        private Node previousSibling_
      • nextSibling_

        private Node nextSibling_
    • Constructor Detail

      • MutationRecord

        public MutationRecord()
        Creates an instance.
    • Method Detail

      • jsConstructor

        public void jsConstructor()
        JavaScript constructor.
      • setType

        void setType​(java.lang.String type)
        Sets the type property.
        Parameters:
        type - the type property
      • getType

        public java.lang.String getType()
        Returns the type property.
        Returns:
        the type property
      • setTarget

        void setTarget​(org.htmlunit.corejs.javascript.ScriptableObject target)
        Sets the target property.
        Parameters:
        target - the target property
      • getTarget

        public org.htmlunit.corejs.javascript.ScriptableObject getTarget()
        Returns the target property.
        Returns:
        the target property
      • setOldValue

        void setOldValue​(java.lang.String oldValue)
        Sets the oldValue property.
        Parameters:
        oldValue - the oldValue property
      • getOldValue

        public java.lang.String getOldValue()
        Returns the oldValue property.
        Returns:
        the oldValue property
      • setAttributeName

        void setAttributeName​(java.lang.String attributeName)
        Sets the attributeName property.
        Parameters:
        attributeName - the attributeName property
      • getAttributeName

        public java.lang.String getAttributeName()
        Returns the attributeName property.
        Returns:
        the attributeName property
      • setAddedNodes

        void setAddedNodes​(NodeList addedNodes)
        Sets the addedNodes property.
        Parameters:
        addedNodes - the addedNodes property
      • getAddedNodes

        public NodeList getAddedNodes()
        Returns:
        the addedNodes property
      • setRemovedNodes

        void setRemovedNodes​(NodeList removedNodes)
        Sets the removedNodes property.
        Parameters:
        removedNodes - the removedNodes property
      • getRemovedNodes

        public NodeList getRemovedNodes()
        Returns:
        the removedNodes property
      • setPreviousSibling

        void setPreviousSibling​(Node previousSibling)
        Sets the previousSibling property.
        Parameters:
        previousSibling - the previousSibling property
      • getPreviousSibling

        public Node getPreviousSibling()
        Returns:
        the previousSibling property
      • setNextSibling

        void setNextSibling​(Node nextSibling)
        Sets the nextSibling property.
        Parameters:
        nextSibling - the nextSibling property
      • getNextSibling

        public Node getNextSibling()
        Returns:
        the nextSibling property