com.gargoylesoftware.htmlunit.html
Class DomNode.ChildIterator

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.DomNode.ChildIterator
All Implemented Interfaces:
Iterator
Enclosing class:
DomNode

protected class DomNode.ChildIterator
extends Object
implements Iterator

an iterator over all children of this node


Constructor Summary
protected DomNode.ChildIterator()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
          remove the current object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomNode.ChildIterator

protected DomNode.ChildIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Returns:
whether there is a next object

next

public Object next()
Specified by:
next in interface Iterator
Returns:
the next object

remove

public void remove()
remove the current object

Specified by:
remove in interface Iterator


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.