|
||||||||||
| 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, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, 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, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| 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 | |||||||||