|
||||||||||
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<E>
java.util.ArrayList
groovy.util.NodeList
public class NodeList
A List implementation which is returned by queries on a Node
which provides some XPath like helper methods for GPath.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
NodeList()
|
|
NodeList(java.util.Collection collection)
|
|
NodeList(int size)
|
Method Summary | |
---|---|
NodeList |
getAt(QName name)
Provides lookup of elements by QName. |
NodeList |
getAt(java.lang.String name)
Provides lookup of elements by non-namespaced name. |
private static void |
setMetaClass(MetaClass metaClass)
|
java.lang.String |
text()
Returns the text value of all of the elements in the collection. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode |
Constructor Detail |
---|
public NodeList()
public NodeList(java.util.Collection collection)
public NodeList(int size)
Method Detail |
---|
private static void setMetaClass(MetaClass metaClass)
public NodeList getAt(java.lang.String name)
name
- the name or shortcut key for nodes of interest
public NodeList getAt(QName name)
name
- the name or shortcut key for nodes of interest
public java.lang.String text()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |