java.lang.Object
org.htmlunit.html.DomNode.AbstractDescendantIterator<HtmlElement>
org.htmlunit.html.DomNode.DescendantHtmlElementsIterator
- All Implemented Interfaces:
Iterator<HtmlElement>
- Enclosing class:
- DomNode
protected final class DomNode.DescendantHtmlElementsIterator
extends DomNode.AbstractDescendantIterator<HtmlElement>
Iterates over all descendants DomTypes, in document order.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAccepted(DomNode node) Indicates if the node is accepted.Methods inherited from class org.htmlunit.html.DomNode.AbstractDescendantIterator
hasNext, next, nextNode, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DescendantHtmlElementsIterator
protected DescendantHtmlElementsIterator()
-
-
Method Details
-
isAccepted
Indicates if the node is accepted. If not it won't be explored at all.- Specified by:
isAcceptedin classDomNode.AbstractDescendantIterator<HtmlElement>- Parameters:
node- the node to test- Returns:
trueif accepted
-