java.lang.Object
org.htmlunit.html.DomNode.AbstractDescendantIterator<DomElement>
org.htmlunit.html.DomNode.DescendantDomElementsIterator
- All Implemented Interfaces:
Iterator<DomElement>
- Enclosing class:
- DomNode
protected final class DomNode.DescendantDomElementsIterator
extends DomNode.AbstractDescendantIterator<DomElement>
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
-
DescendantDomElementsIterator
protected DescendantDomElementsIterator()
-
-
Method Details
-
isAccepted
Indicates if the node is accepted. If not it won't be explored at all.- Specified by:
isAcceptedin classDomNode.AbstractDescendantIterator<DomElement>- Parameters:
node- the node to test- Returns:
trueif accepted
-