This method of the ElementCollection class retrieves a specified item from the collection, given the item’s index.
public Element getChild(int index);
Returns the requested child node; returns null if not found.
index | The index of the item in the element collection. |