Node
which provides some XPath like helper methods for GPath.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the cloneOverrides java. |
| public NodeList | |
| public NodeList | |
| public void | |
| public Node | |
| protected static void | |
| public String | Returns: the text value of all the elements in the collection or nullReturns the text value of all of the elements in the collection. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NodeList | back to summary |
|---|---|
| public NodeList() | |
| NodeList | back to summary |
|---|---|
| public NodeList(Collection<E> collection) | |
| NodeList | back to summary |
|---|---|
| public NodeList(int size) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Creates a new NodeList containing the same elements as the original (but cloned in the case of Nodes). | |
| getAt | back to summary |
|---|---|
| public NodeList getAt(String name) Provides lookup of elements by non-namespaced name. | |
| getAt | back to summary |
|---|---|
| public NodeList getAt(QName name) Provides lookup of elements by QName. | |
| plus | back to summary |
|---|---|
| public void plus(Closure<V> c) | |
| replaceNode | back to summary |
|---|---|
| public Node replaceNode(Closure<V> c) | |
| setMetaClass | back to summary |
|---|---|
| protected static void setMetaClass(final Class<T> nodelistClass, final MetaClass metaClass) | |
| text | back to summary |
|---|---|
| public String text() Returns the text value of all of the elements in the collection.
| |