Package org.htmlparser.util
Interface NodeIterator
- All Known Subinterfaces:
SimpleNodeIterator
- All Known Implementing Classes:
IteratorImpl
,NodeTreeWalker
public interface NodeIterator
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if more nodes are available.nextNode()
Get the next node.
-
Method Details
-
hasMoreNodes
Check if more nodes are available.- Returns:
true
if a call tonextHTMLNode()
will succeed.- Throws:
ParserException
-
nextNode
Get the next node.- Returns:
- The next node in the HTML stream, or null if there are no more nodes.
- Throws:
ParserException
-