com.gargoylesoftware.htmlunit.html
Class DomElement.ChildElementsIterator

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

protected class DomElement.ChildElementsIterator
extends Object
implements Iterator<DomElement>

An iterator over the DomElement children.


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

Constructor Detail

DomElement.ChildElementsIterator

protected DomElement.ChildElementsIterator()
Constructor.

Method Detail

hasNext

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

next

public DomElement next()
Specified by:
next in interface Iterator<DomElement>
Returns:
the next one

remove

public void remove()
Removes the current one.

Specified by:
remove in interface Iterator<DomElement>

nextElement

public DomElement nextElement()
Returns:
the next element


Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.