com.jayway.restassured.path.xml.element
Interface NodeChildren
- All Superinterfaces:
- Iterable<String>, PathElement
- All Known Implementing Classes:
- NodeChildrenImpl
public interface NodeChildren
- extends PathElement
Represent the children of a Node in an XML document.
get
Node get(int index)
- The the Node on the nth index
- Parameters:
index
- The index of the node the get
- Returns:
- The node
size
int size()
- Returns:
- The number of children
isEmpty
boolean isEmpty()
- Returns:
true
if there are no children, false
otherwise.
nodeIterable
Iterable<Node> nodeIterable()
- Returns:
- An iterable of all nodes
nodeIterator
Iterator<Node> nodeIterator()
- Returns:
- An iterator of all nodes.
list
List<Node> list()
- Returns:
- The child nodes as a list
Copyright © 2010-2011. All Rights Reserved.