Class MutationRecord

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.javascript.HtmlUnitScriptable
org.htmlunit.javascript.host.dom.MutationRecord
All Implemented Interfaces:
Serializable, 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:
  • 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
     
    private String
     
    private Node
     
    private String
     
    private Node
     
    private NodeList
     
    private org.htmlunit.corejs.javascript.ScriptableObject
     
    private String
     

    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
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the attributeName property.
     
    Returns the oldValue property.
     
     
    org.htmlunit.corejs.javascript.ScriptableObject
    Returns the target property.
    Returns the type property.
    void
    JavaScript constructor.
    (package private) void
    setAddedNodes(NodeList addedNodes)
    Sets the addedNodes property.
    (package private) void
    setAttributeName(String attributeName)
    Sets the attributeName property.
    (package private) void
    setNextSibling(Node nextSibling)
    Sets the nextSibling property.
    (package private) void
    setOldValue(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
    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 Details

    • type_

      private String type_
    • target_

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

      private String oldValue_
    • attributeName_

      private String attributeName_
    • addedNodes_

      private NodeList addedNodes_
    • removedNodes_

      private NodeList removedNodes_
    • previousSibling_

      private Node previousSibling_
    • nextSibling_

      private Node nextSibling_
  • Constructor Details

    • MutationRecord

      public MutationRecord()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
    • setType

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

      public 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(String oldValue)
      Sets the oldValue property.
      Parameters:
      oldValue - the oldValue property
    • getOldValue

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

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

      public 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