public class IteratorImpl extends java.lang.Object implements NodeIterator
Constructor and Description |
---|
IteratorImpl(Lexer lexer,
ParserFeedback fb) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreNodes()
Check if more nodes are available.
|
Node |
nextNode()
Get the next node.
|
public IteratorImpl(Lexer lexer, ParserFeedback fb)
public boolean hasMoreNodes() throws ParserException
hasMoreNodes
in interface NodeIterator
true
if a call to nextNode()
will succeed.ParserException
public Node nextNode() throws ParserException
nextNode
in interface NodeIterator
ParserException
- If an unrecoverable error occurs.HTML Parser is an open source library released under LGPL.