| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.thermopylae.NodeListImpl
Wrapper around a vector of ElementImpl.
Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| Method Summary | |
|  int | getLength()The number of nodes in the list. | 
|  org.w3c.dom.Node | item(int i)Returns the indexth item in the collection. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public int getLength()
org.w3c.dom.NodeListlength-1 inclusive.getLength in interface org.w3c.dom.NodeListpublic org.w3c.dom.Node item(int i)
org.w3c.dom.NodeListindexth item in the collection. If 
 index is greater than or equal to the number of nodes in 
 the list, this returns null.item in interface org.w3c.dom.NodeListorg.w3c.dom.NodeListindex - Index into the collection.indexth position in the 
   NodeList, or null if that is not a valid 
   index.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||