| java.util.ArrayList groovy.util.NodeList
NodeList | public class NodeList extends ArrayList (Code) | | A List implementation which is returned by queries on a
Node which provides some XPath like helper methods for GPath.
|
Method Summary | |
public NodeList | getAt(String name) Provides lookup of elements by non-namespaced name. | public NodeList | getAt(QName name) Provides lookup of elements by QName. | public String | text() Returns the text value of all of the elements in the collection. |
NodeList | public NodeList()(Code) | | |
NodeList | public NodeList(int size)(Code) | | |
getAt | public NodeList getAt(String name)(Code) | | Provides lookup of elements by non-namespaced name.
the nodes of interest which match name Parameters: name - the name or shortcut key for nodes of interest |
getAt | public NodeList getAt(QName name)(Code) | | Provides lookup of elements by QName.
the nodes of interest which match name Parameters: name - the name or shortcut key for nodes of interest |
text | public String text()(Code) | | Returns the text value of all of the elements in the collection.
the text value of all the elements in the collection or null |
|
|