- All Superinterfaces:
ExtendedNodeList<DOMElement>,Iterable<DOMElement>,NodeList
-
Method Summary
Modifier and TypeMethodDescriptionitem(int index) Given the subset of child nodes that are elements, access the element at theindexposition of this list, with the index starting with0.Methods inherited from interface io.sf.carte.doc.dom.ExtendedNodeList
contains, isEmptyMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
item
Given the subset of child nodes that are elements, access the element at theindexposition of this list, with the index starting with0.For better performance, please use an iterator instead of this method.
- Specified by:
itemin interfaceExtendedNodeList<DOMElement>- Specified by:
itemin interfaceNodeList- Parameters:
index- the index.- Returns:
- the element at the given position, or
nullif the specified index is beyond the last item or less than zero.
-