|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The HTMLSimpleEnumeration interface is similar to NodeIterator, except that it does not throw exceptions. This interface is useful when using HTMLVector, to enumerate through its elements in a simple manner, without needing to do class casts for Node.
Method Summary | |
boolean |
hasMoreNodes()
Check if more nodes are available. |
Node |
nextNode()
Get the next node. |
Method Detail |
public boolean hasMoreNodes()
hasMoreNodes
in interface NodeIterator
true
if a call to nextHTMLNode()
will
succeed.public Node nextNode()
nextNode
in interface NodeIterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |