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 NodeIteratortrue if a call to nextNode() will succeed.ParserExceptionpublic Node nextNode() throws ParserException
nextNode in interface NodeIteratorParserException - If an unrecoverable error occurs.HTML Parser is an open source library released under LGPL.