com.gargoylesoftware.htmlunit.html
Class DomNode.DescendantElementsIterator
java.lang.Object
com.gargoylesoftware.htmlunit.html.DomNode.DescendantElementsIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- DomNode
protected class DomNode.DescendantElementsIterator
- extends Object
- implements Iterator
An iterator over all HtmlElement descendants in document order.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomNode.DescendantElementsIterator
protected DomNode.DescendantElementsIterator()
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()
throws UnsupportedOperationException
- Specified by:
remove
in interface Iterator
- Throws:
UnsupportedOperationException
- always
nextElement
public HtmlElement nextElement()
- Returns:
- is there a next one?
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.