|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.japisoft.fastparser.dom.NodeListImpl
Implementation for NodeList
Constructor Summary | |
NodeListImpl(SimpleNode n)
|
|
NodeListImpl(SimpleNode n,
java.lang.String filter)
|
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeListImpl(SimpleNode n)
n
- reference nodepublic NodeListImpl(SimpleNode n, java.lang.String filter)
n
- reference nodefilter
- tag name to findMethod 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
- Index into the collection.
null
public int getLength()
NodeList
length-1
inclusive.
getLength
in interface NodeList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |