com.meterware.httpunit.dom
Class HTMLCollectionImpl

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.meterware.httpunit.dom.HTMLCollectionImpl
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, org.w3c.dom.html.HTMLCollection

public class HTMLCollectionImpl
extends org.mozilla.javascript.ScriptableObject
implements org.w3c.dom.html.HTMLCollection

Author:
Russell Gold
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
HTMLCollectionImpl()
           
 
Method Summary
static HTMLCollectionImpl createHTMLCollectionImpl(org.w3c.dom.NodeList list)
           
 java.lang.Object get(int index, org.mozilla.javascript.Scriptable start)
           
 java.lang.Object get(java.lang.String propertyName, org.mozilla.javascript.Scriptable scriptable)
           
 java.lang.String getClassName()
           
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
 org.w3c.dom.Node namedItem(java.lang.String name)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLCollectionImpl

public HTMLCollectionImpl()
Method Detail

createHTMLCollectionImpl

public static HTMLCollectionImpl createHTMLCollectionImpl(org.w3c.dom.NodeList list)

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.html.HTMLCollection

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.html.HTMLCollection

namedItem

public org.w3c.dom.Node namedItem(java.lang.String name)
Specified by:
namedItem in interface org.w3c.dom.html.HTMLCollection

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

get

public java.lang.Object get(java.lang.String propertyName,
                            org.mozilla.javascript.Scriptable scriptable)
Specified by:
get in interface org.mozilla.javascript.Scriptable
Overrides:
get in class org.mozilla.javascript.ScriptableObject

get

public java.lang.Object get(int index,
                            org.mozilla.javascript.Scriptable start)
Specified by:
get in interface org.mozilla.javascript.Scriptable
Overrides:
get in class org.mozilla.javascript.ScriptableObject


Copyright © 2011. All Rights Reserved.