Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| HTML Parser Home Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.htmlparser.util
Class IteratorImpl

    java.lang.Object
      org.htmlparser.util.IteratorImpl

All Implemented Interfaces:
  NodeIterator

    public class IteratorImpl

extends Object
implements NodeIterator

Constructor Summary
`IteratorImpl(Lexer lexer, ParserFeedback fb)`

Method Summary
`boolean` | `hasMoreNodes()` Check if more nodes are available.
`Node` | `nextNode()` Get the next node.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IteratorImpl

    public IteratorImpl(Lexer lexer,
                        ParserFeedback fb)

Method Detail

### hasMoreNodes

    public boolean hasMoreNodes()
                         throws ParserException

  Check if more nodes are available.

  Specified by:
    `hasMoreNodes` in interface `NodeIterator`
  Returns:
    `true` if a call to `nextNode()` will succeed.
  Throws:
    `ParserException`

### nextNode

    public Node nextNode()
                  throws ParserException

  Get the next node.

  Specified by:
    `nextNode` in interface `NodeIterator`
  Returns:
    The next node in the HTML stream, or null if there are no more nodes.
  Throws:
    `ParserException` - If an unrecoverable error occurs.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2005 Derrick Oswald Jun 10, 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

HTML Parser is an open source library released under LGPL. |