Package org.htmlparser.util
Class IteratorImpl
java.lang.Object
org.htmlparser.util.IteratorImpl
- All Implemented Interfaces:
NodeIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if more nodes are available.nextNode()
Get the next node.
-
Constructor Details
-
IteratorImpl
-
-
Method Details
-
hasMoreNodes
Check if more nodes are available.- Specified by:
hasMoreNodes
in interfaceNodeIterator
- Returns:
true
if a call tonextNode()
will succeed.- Throws:
ParserException
-
nextNode
Get the next node.- Specified by:
nextNode
in interfaceNodeIterator
- Returns:
- The next node in the HTML stream, or null if there are no more nodes.
- Throws:
ParserException
- If an unrecoverable error occurs.
-