| Constructor and description | 
|---|
| NodeList() | 
| NodeList(Collection collection) | 
| NodeList(int size) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public Object | clone()Creates a new NodeList containing the same elements as the original (but cloned in the case of Nodes). | 
|  | 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 Object | getAttribute(Object object, String attribute) | 
|  | public Object | getAttribute(Class sender, Object object, String attribute, boolean isSuper) | 
|  | public Object | getProperty(Object object, String property) | 
|  | public Object | getProperty(Class sender, Object object, String property, boolean isSuper, boolean isInner) | 
|  | public void | plus(Closure c) | 
|  | public Node | replaceNode(Closure c) | 
|  | public void | setAttribute(Object object, String attribute, Object newValue) | 
|  | public void | setAttribute(Class sender, Object object, String attribute, Object newValue, boolean isSuper, boolean isInner) | 
|  | protected static void | setMetaClass(Class nodeListClass, MetaClass metaClass) | 
|  | public String | text()Returns the text value of all of the elements in the collection. | 
| Methods inherited from class | Name | 
|---|---|
| class ArrayList | add, add, addAll, addAll, clear, clone, contains, containsAll, ensureCapacity, equals, forEach, get, getClass, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, notify, notifyAll, parallelStream, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, stream, subList, toArray, toArray, toArray, toString, trimToSize, wait, wait, wait | 
Creates a new NodeList containing the same elements as the original (but cloned in the case of Nodes).
Provides lookup of elements by non-namespaced name.
name -  the name or shortcut key for nodes of interestProvides lookup of elements by QName.
name -  the name or shortcut key for nodes of interestReturns the text value of all of the elements in the collection.
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.