public final class NodeListIterable extends Object implements ProtectedBidirectionalIterable<Node>
NodeListIterable is a ProtectedBidirectionalIterable that
generates Iterators that iterate over a given
NodeList.| Constructor and Description |
|---|
NodeListIterable(NodeList nodeList)
Creates a new
NodeListIterable. |
| Modifier and Type | Method and Description |
|---|---|
NodeListIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic NodeListIterable(NodeList nodeList) throws IllegalArgumentException
NodeListIterable.nodeList - The NodeList to iterate over.IllegalArgumentException - If the given NodeList is null.public NodeListIterator iterator()
ProtectedBidirectionalIterableProtectedIterator.iterator in interface Iterable<Node>iterator in interface BidirectionalIterable<Node>iterator in interface ProtectedBidirectionalIterable<Node>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.