public class NodeList extends Object implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NodeList">
<xs:sequence>
<xs:element type="ns:Node" name="node" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
| Constructor and Description |
|---|
NodeList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(Node item)
Add a 'node' element item.
|
void |
clearNodeList()
Remove all 'node' element items.
|
Node |
getNode(int index)
Get 'node' element item by position.
|
List<Node> |
getNodeList()
Get the list of 'node' element items.
|
void |
setNodeList(List<Node> list)
Set the list of 'node' element items.
|
int |
sizeNodeList()
Get the number of 'node' element items.
|
public void setNodeList(List<Node> list)
list - public int sizeNodeList()
public void addNode(Node item)
item - public Node getNode(int index)
index - public void clearNodeList()
Copyright © 2014. All Rights Reserved.