|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.DOMNodeListImpl
public class DOMNodeListImpl
The items in the NodeList
are accessible via an integral
index, starting from 0.
Constructor Summary | |
---|---|
protected |
DOMNodeListImpl(Node parent)
|
Method Summary | |
---|---|
int |
getLength()
The number of nodes in the list. |
Node |
item(int index)
Returns the index th item in the collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DOMNodeListImpl(Node parent)
Method Detail |
---|
public Node item(int index)
NodeList
index
th 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 NodeList
index
th position in the
NodeList
, or null
if that is not a valid
index.NodeList.item(int)
public int getLength()
NodeList
length-1
inclusive.
getLength
in interface NodeList
NodeList.getLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |