com.gargoylesoftware.htmlunit.html
Class DomElement.ChildElementsIterator
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomElement.ChildElementsIterator
protected DomElement.ChildElementsIterator()
- Constructor.
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-2012 Gargoyle Software Inc.. All Rights Reserved.