java.lang.Object
org.htmlunit.corejs.javascript.SlotMapOwner<Scriptable>
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.xml.XMLObject
- All Implemented Interfaces:
Serializable,ConstProperties<Scriptable>,DebuggableObject,PropHolder<Scriptable>,Scriptable,SymbolScriptable
This Interface describes what all XML objects (XML, XMLList) should have in common.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject
ScriptableObject.DescriptorInfo, ScriptableObject.KeyComparator, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunction -
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, LEGACY_CONST, PERMANENT, READONLY, STRICTLY_READONLY, UNINITIALIZED_CONSTFields inherited from class org.htmlunit.corejs.javascript.SlotMapOwner
isSealedFields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCustom+operator.abstract booleanImplementation of ECMAScript [[Delete]].abstract WithScopeenterDotQuery(VarScope scope) Wrap this object intoWithScopeto implement the .() query.abstract WithScopeWrap this object intoWithScopeto implement the with statement.abstract ObjectImplementation of ECMAScript [[Get]].abstract ScriptableReturn an additional object to look for methods that runtime should consider during method search.abstract ObjectgetFunctionProperty(Context cx, int id) abstract ObjectgetFunctionProperty(Context cx, String name) Gets the value returned by calling the typeof operator on this object.abstract booleanImplementation of ECMAScript [[Has]].abstract RefGeneric reference to implement x.abstract RefGeneric reference to implement x::ns, x.abstract voidImplementation of ECMAScript [[Put]].Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkPropertyDefinition, checkSlotRemoval, defineBuiltinProperty, defineBuiltinProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, equivalentValues, get, get, getAllIds, getAncestor, getArrayPrototype, getClassName, getClassPrototype, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getThis, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, hasInstance, hasProperty, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, redefineProperty, sameValue, sealObject, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeMethods inherited from class org.htmlunit.corejs.javascript.SlotMapOwner
associateValue, checkNotSealed, copyAssociatedValue, createSlotMap, createSlotMap, defineProperty, defineProperty, get, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getIds, has, has, isSealed, readMaps, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, writeMapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.Scriptable
get, get, getIds, has, hasMethods inherited from interface org.htmlunit.corejs.javascript.SymbolScriptable
get, has
-
Constructor Details
-
XMLObject
public XMLObject() -
XMLObject
-
-
Method Details
-
has
Implementation of ECMAScript [[Has]]. -
get
Implementation of ECMAScript [[Get]]. -
put
Implementation of ECMAScript [[Put]]. -
delete
Implementation of ECMAScript [[Delete]]. -
getFunctionProperty
-
getFunctionProperty
-
getExtraMethodSource
Return an additional object to look for methods that runtime should consider during method search. Return null if no such object available. -
memberRef
Generic reference to implement x.@y, x..y etc. -
memberRef
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc. -
enterWith
Wrap this object intoWithScopeto implement the with statement. -
enterDotQuery
Wrap this object intoWithScopeto implement the .() query. -
addValues
Custom+operator. Should returnScriptable.NOT_FOUNDif this object does not have custom addition operator for the given value, or the result of the addition operation.The default implementation returns
Scriptable.NOT_FOUNDto indicate no custom addition operation.- Parameters:
cx- the Context object associated with the current thread.thisIsLeft- if true, the object should calculate this + value if false, the object should calculate value + this.value- the second argument for addition operation.
-
getTypeOf
Gets the value returned by calling the typeof operator on this object.- Overrides:
getTypeOfin classScriptableObject- Returns:
- "xml" or "undefined" if
ScriptableObject.avoidObjectDetection()returnstrue - See Also:
-