com.gargoylesoftware.htmlunit.html
Class HtmlElement.ChildElementsIterator
java.lang.Object
com.gargoylesoftware.htmlunit.html.HtmlElement.ChildElementsIterator
- All Implemented Interfaces:
- Iterator<HtmlElement>
- Enclosing class:
- HtmlElement
protected class HtmlElement.ChildElementsIterator
- extends Object
- implements Iterator<HtmlElement>
An iterator over the HtmlElement children.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlElement.ChildElementsIterator
protected HtmlElement.ChildElementsIterator()
- Constructor.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<HtmlElement>
- Returns:
- is there a next one ?
next
public HtmlElement next()
- Specified by:
next
in interface Iterator<HtmlElement>
- Returns:
- the next one
remove
public void remove()
- Removes the current one.
- Specified by:
remove
in interface Iterator<HtmlElement>
nextElement
public HtmlElement nextElement()
- Returns:
- the next element
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.