Package org.apache.harmony.xml.dom
Class NodeListImpl
- java.lang.Object
-
- org.apache.harmony.xml.dom.NodeListImpl
-
- All Implemented Interfaces:
NodeList
public class NodeListImpl extends Object implements NodeList
Provides a straightforward implementation of the corresponding W3C DOM interface. The class is used internally only, thus only notable members that are not in the original interface are documented (the W3C docs are quite extensive). Hope that's ok.Some of the fields may have package visibility, so other classes belonging to the DOM implementation can easily access them while maintaining the DOM tree structure.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()The number of nodes in the list.Nodeitem(int index)Returns theindexth item in the collection.
-
-
-
Method Detail
-
getLength
public int getLength()
Description copied from interface:NodeListThe number of nodes in the list. The range of valid child node indices is 0 tolength-1inclusive.
-
-