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
Interface NodeIterator

All Known Subinterfaces:
  PeekingIterator, SimpleNodeIterator

All Known Implementing Classes:
  IteratorImpl, PeekingIteratorImpl

public interface NodeIterator

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

Method Detail

### hasMoreNodes

    public boolean hasMoreNodes()
                         throws ParserException

  Check if more nodes are available.

  Returns:
    `true` if a call to `nextHTMLNode()` will succeed.
  Throws:
    `ParserException`

### nextNode

    public 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2004 Somik Raha Mar 14, 2004
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.