Package org.htmlunit.javascript.host.dom
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
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
FieldsModifier and TypeFieldDescriptionprivate 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 -
Method Summary
Modifier and TypeMethodDescriptionReturns theattributeName
property.Returns theoldValue
property.org.htmlunit.corejs.javascript.ScriptableObject
Returns thetarget
property.getType()
Returns thetype
property.void
JavaScript constructor.(package private) void
setAddedNodes
(NodeList addedNodes) Sets theaddedNodes
property.(package private) void
setAttributeName
(String attributeName) Sets theattributeName
property.(package private) void
setNextSibling
(Node nextSibling) Sets thenextSibling
property.(package private) void
setOldValue
(String oldValue) Sets theoldValue
property.(package private) void
setPreviousSibling
(Node previousSibling) Sets thepreviousSibling
property.(package private) void
setRemovedNodes
(NodeList removedNodes) Sets theremovedNodes
property.(package private) void
setTarget
(org.htmlunit.corejs.javascript.ScriptableObject target) Sets thetarget
property.(package private) void
Sets thetype
property.Methods inherited from class org.htmlunit.javascript.HtmlUnitScriptable
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromise
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
-
Field Details
-
type_
-
target_
private org.htmlunit.corejs.javascript.ScriptableObject target_ -
oldValue_
-
attributeName_
-
addedNodes_
-
removedNodes_
-
previousSibling_
-
nextSibling_
-
-
Constructor Details
-
MutationRecord
public MutationRecord()Creates an instance.
-
-
Method Details
-
jsConstructor
public void jsConstructor()JavaScript constructor. -
setType
Sets thetype
property.- Parameters:
type
- thetype
property
-
getType
Returns thetype
property.- Returns:
- the
type
property
-
setTarget
void setTarget(org.htmlunit.corejs.javascript.ScriptableObject target) Sets thetarget
property.- Parameters:
target
- thetarget
property
-
getTarget
public org.htmlunit.corejs.javascript.ScriptableObject getTarget()Returns thetarget
property.- Returns:
- the
target
property
-
setOldValue
Sets theoldValue
property.- Parameters:
oldValue
- theoldValue
property
-
getOldValue
Returns theoldValue
property.- Returns:
- the
oldValue
property
-
setAttributeName
Sets theattributeName
property.- Parameters:
attributeName
- theattributeName
property
-
getAttributeName
Returns theattributeName
property.- Returns:
- the
attributeName
property
-
setAddedNodes
Sets theaddedNodes
property.- Parameters:
addedNodes
- theaddedNodes
property
-
getAddedNodes
- Returns:
- the
addedNodes
property
-
setRemovedNodes
Sets theremovedNodes
property.- Parameters:
removedNodes
- theremovedNodes
property
-
getRemovedNodes
- Returns:
- the
removedNodes
property
-
setPreviousSibling
Sets thepreviousSibling
property.- Parameters:
previousSibling
- thepreviousSibling
property
-
getPreviousSibling
- Returns:
- the
previousSibling
property
-
setNextSibling
Sets thenextSibling
property.- Parameters:
nextSibling
- thenextSibling
property
-
getNextSibling
- Returns:
- the
nextSibling
property
-