Package io.sf.carte.doc.dom
Interface ExtendedNodeList<T extends Node>
- All Known Subinterfaces:
DOMNodeList
,ElementList
This library's iterable version of the old
NodeList
.-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
contains
Determine whether this list contains the given node.- Parameters:
node
- the node to check for.- Returns:
true
if this list contains the node,false
otherwise, even ifnode
is a descendant of the child nodes.
-
item
Get the node located at theindex
position in this list.For better performance, please use an iterator instead of this method.
-
isEmpty
boolean isEmpty()Check whether this list is empty.- Returns:
true
if this list is empty.
-