Package org.htmlunit.html
Class StaticDomNodeList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<DomNode>
-
- org.htmlunit.html.StaticDomNodeList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<DomNode>
,java.util.Collection<DomNode>
,java.util.List<DomNode>
,DomNodeList<DomNode>
,org.w3c.dom.NodeList
class StaticDomNodeList extends java.util.AbstractList<DomNode> implements DomNodeList<DomNode>, java.io.Serializable
An implementation of DomNodeList that is static.
-
-
Constructor Summary
Constructors Constructor Description StaticDomNodeList(java.util.List<DomNode> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomNode
get(int index)
int
getLength()
org.w3c.dom.Node
item(int index)
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
elements_
private final java.util.List<DomNode> elements_
-
-
Constructor Detail
-
StaticDomNodeList
StaticDomNodeList(java.util.List<DomNode> elements)
-
-