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 NodeListprivate Stringprivate Nodeprivate Stringprivate Nodeprivate NodeListprivate org.htmlunit.corejs.javascript.ScriptableObjectprivate StringFields inherited from class org.htmlunit.corejs.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theattributeNameproperty.Returns theoldValueproperty.org.htmlunit.corejs.javascript.ScriptableObjectReturns thetargetproperty.getType()Returns thetypeproperty.voidJavaScript constructor.(package private) voidsetAddedNodes(NodeList addedNodes) Sets theaddedNodesproperty.(package private) voidsetAttributeName(String attributeName) Sets theattributeNameproperty.(package private) voidsetNextSibling(Node nextSibling) Sets thenextSiblingproperty.(package private) voidsetOldValue(String oldValue) Sets theoldValueproperty.(package private) voidsetPreviousSibling(Node previousSibling) Sets thepreviousSiblingproperty.(package private) voidsetRemovedNodes(NodeList removedNodes) Sets theremovedNodesproperty.(package private) voidsetTarget(org.htmlunit.corejs.javascript.ScriptableObject target) Sets thetargetproperty.(package private) voidSets thetypeproperty.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, setupRejectedPromiseMethods 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 thetypeproperty.- Parameters:
type- thetypeproperty
-
getType
Returns thetypeproperty.- Returns:
- the
typeproperty
-
setTarget
void setTarget(org.htmlunit.corejs.javascript.ScriptableObject target) Sets thetargetproperty.- Parameters:
target- thetargetproperty
-
getTarget
public org.htmlunit.corejs.javascript.ScriptableObject getTarget()Returns thetargetproperty.- Returns:
- the
targetproperty
-
setOldValue
Sets theoldValueproperty.- Parameters:
oldValue- theoldValueproperty
-
getOldValue
Returns theoldValueproperty.- Returns:
- the
oldValueproperty
-
setAttributeName
Sets theattributeNameproperty.- Parameters:
attributeName- theattributeNameproperty
-
getAttributeName
Returns theattributeNameproperty.- Returns:
- the
attributeNameproperty
-
setAddedNodes
Sets theaddedNodesproperty.- Parameters:
addedNodes- theaddedNodesproperty
-
getAddedNodes
- Returns:
- the
addedNodesproperty
-
setRemovedNodes
Sets theremovedNodesproperty.- Parameters:
removedNodes- theremovedNodesproperty
-
getRemovedNodes
- Returns:
- the
removedNodesproperty
-
setPreviousSibling
Sets thepreviousSiblingproperty.- Parameters:
previousSibling- thepreviousSiblingproperty
-
getPreviousSibling
- Returns:
- the
previousSiblingproperty
-
setNextSibling
Sets thenextSiblingproperty.- Parameters:
nextSibling- thenextSiblingproperty
-
getNextSibling
- Returns:
- the
nextSiblingproperty
-