public class HTMLAllCollection extends HTMLCollection
HTMLCollection for document.all.NodeList.EffectOnCache| Constructor and Description |
|---|
HTMLAllCollection()
Deprecated.
|
HTMLAllCollection(DomNode parentScope,
String description)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Returns the JavaScript class name.
|
Object |
getDefaultValue(Class<?> hint)
Returns the JavaScript default value of this object.
|
Object |
item(Object index)
Returns the item or items corresponding to the specified index or key.
|
Object |
namedItem(String name)
Retrieves the item or items corresponding to the specified name (checks ids, and if
that does not work, then names).
|
addElementIds, computeElements, emptyCollection, equivalentValues, getCandidates, getIds, getScriptableForElement, getWithPreemption, isMatching, nextNode, reset, tagsavoidObjectDetection, call, construct, get, getEffectOnCache, getElements, getLength, has, has, item, setAvoidObjectDetection, setDomNode, toStringclone, defineFunctionProperties, defineProperty, get, getBrowserVersion, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setHtmlElement, setParentScopeapplyDescriptorToAttributeBitset, associateValue, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setPrototype, size@Deprecated public HTMLAllCollection()
public Object item(Object index)
item in class HTMLCollectionindex - the index or key corresponding to the element or elements to returnpublic final Object namedItem(String name)
HTMLCollectionnamedItem in class HTMLCollectionname - the name or id the element or elements to returnpublic Object getDefaultValue(Class<?> hint)
getDefaultValue in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetDefaultValue in class SimpleScriptablehint - a hint as to the format of the default value (ignored in this case)public String getClassName()
getClassName in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetClassName in class SimpleScriptableCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.