|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<org.w3c.dom.Node>
org.restlet.util.NodeSet
public class NodeSet
DOM nodes set that implements the standard List interface for easier iteration.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
NodeSet(org.w3c.dom.NodeList nodes)
Constructor. |
Method Summary | |
---|---|
org.w3c.dom.Node |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
Constructor Detail |
---|
public NodeSet(org.w3c.dom.NodeList nodes)
nodes
- The node list to wrap.Method Detail |
---|
public org.w3c.dom.Node get(int index)
get
in interface java.util.List<org.w3c.dom.Node>
get
in class java.util.AbstractList<org.w3c.dom.Node>
public int getLength()
getLength
in interface org.w3c.dom.NodeList
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
public int size()
size
in interface java.util.Collection<org.w3c.dom.Node>
size
in interface java.util.List<org.w3c.dom.Node>
size
in class java.util.AbstractCollection<org.w3c.dom.Node>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |