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