1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Date: 2001/11/26 22:34:22 $ $Revision: 1.1.1.1 $ -->
<!--[ NodeList object description ]-->
<interface name="NodeList" id="ID-536297177">
<descr><p>The <code>NodeList</code> interface provides the abstraction of an
ordered collection of nodes, without defining or constraining how this
collection is implemented. <code>NodeList</code> objects in the DOM are
<termref def="td-live">live</termref>.</p>
<p>The items in the <code>NodeList</code> are accessible via an
integral index, starting from 0.</p>
</descr>
<method name="item" id="ID-844377136">
<descr><p>Returns the <code>index</code>th item in the collection.
If <code>index</code> is greater than or equal to the number
of nodes in the list, this returns <code>null</code>.</p></descr>
<parameters>
<param name="index" type="unsigned long" attr="in">
<descr><p>Index into the collection.</p></descr>
</param>
</parameters>
<returns type="Node">
<descr><p>The node at the <code>index</code>th position in the
<code>NodeList</code>, or <code>null</code> if that is not a
valid index.</p></descr>
</returns>
<raises>
<!-- No exceptions -->
</raises>
</method>
<attribute type="unsigned long" readonly = "yes" name="length" id="ID-203510337">
<descr><p>The number of nodes in the list. The range of valid child node
indices is 0 to <code>length-1</code> inclusive. </p></descr>
</attribute>
</interface>
|