- All Implemented Interfaces:
Iterable<Node>
Provides an iterable view to a NodeList, the Iterator that can be
obtained from this Iterable will be read-only.
-
Constructor Summary
Constructors
-
Method Summary
Turns the NodeList into a list.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IterableNodeList
Wraps the NodeList.
- Parameters:
nl
- list to wrap
-
Method Details
-
-
asList
Turns the NodeList into a list.
- Parameters:
l
- the NodeList to convert
- Returns:
- a list of Nodes