Class AbstractDomNodeList<E extends DomNode>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.htmlunit.html.AbstractDomNodeList<E>
- Type Parameters:
E- The element type
- All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>, DomNodeList<E>, NodeList
public abstract class AbstractDomNodeList<E extends DomNode>
extends AbstractList<E>
implements DomNodeList<E>, Serializable
A generic DomNodeList implementation of
NodeList.- Author:
- Daniel Gredler, Tom Anderson, Ronald Brill
- See Also:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
AbstractDomNodeList
Creates a new node list. The elements will be "calculated" using the specified XPath expression applied on the specified node.- Parameters:
node- the node to serve as root for the XPath expression
-
-
Method Details
-
getDomNode
-
provideElements
-
size
-
getLength
-
item
-
get
-