com.gargoylesoftware.htmlunit.html
Class HtmlElement.ChildElementsIterator

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

protected class HtmlElement.ChildElementsIterator
extends Object
implements Iterator

an iterator over the HtmlElement children


Constructor Summary
HtmlElement.ChildElementsIterator()
          constructor
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 HtmlElement nextElement()
           
 void remove()
          remove the current one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlElement.ChildElementsIterator

public HtmlElement.ChildElementsIterator()
constructor

Method Detail

hasNext

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

next

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

remove

public void remove()
remove the current one

Specified by:
remove in interface Iterator

nextElement

public HtmlElement nextElement()
Returns:
the next element


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