|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The XSObjectList
interface provides the abstraction of an
ordered collection of object, without defining or constraining how this
collection is implemented.
Method Summary | |
XSObject |
getItem(int index)
Returns the index th item in the collection. |
int |
getLength()
The number of XSObjects in the list. |
Method Detail |
public int getLength()
XSObjects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.
public XSObject getItem(int index)
index
th item in the collection. The index
starts at 0. If index
is greater than or equal to the
number of nodes in the list, this returns null
.
index
- index into the collection.
index
th position in the
XSObjectList
, or null
if that is not a
valid index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |