Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.util
Interface SimpleNodeIterator  view SimpleNodeIterator download SimpleNodeIterator.java

All Superinterfaces:
NodeIterator

public interface SimpleNodeIterator
extends NodeIterator

The HTMLSimpleEnumeration interface is similar to NodeIterator, except that it does not throw exceptions. This interface is useful when using HTMLVector, to enumerate through its elements in a simple manner, without needing to do class casts for Node.


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

Method Detail

hasMoreNodes

public boolean hasMoreNodes()
Check if more nodes are available.

Specified by:
hasMoreNodes in interface NodeIterator

nextNode

public org.htmlparser.Node nextNode()
Get the next node.

Specified by:
nextNode in interface NodeIterator