org.htmlparser.util
Interface SimpleNodeIterator
- NodeIterator
public interface SimpleNodeIterator
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.
hasMoreNodes
public boolean hasMoreNodes()
Check if more nodes are available.
- hasMoreNodes in interface NodeIterator
true
if a call to nextHTMLNode()
will
succeed.
nextNode
public Node nextNode()
Get the next node.
- nextNode in interface NodeIterator
- The next node in the HTML stream, or null if there are no more
nodes.
| © 2005 Derrick Oswald Mai 08, 2008 |
HTML Parser is an open source library released under LGPL. |  |