public class NSItemListImpl extends Object implements XSNamespaceItemList
| Constructor and Description |
|---|
NSItemListImpl(Vector v) |
NSItemListImpl(XSNamespaceItem[] array,
int length)
Construct an XSNamespaceItemList implementation
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
The number of
Objects in the list. |
XSNamespaceItem |
item(int index)
Returns the
indexth item in the collection or
null if index is greater than or equal to
the number of objects in the list. |
public NSItemListImpl(Vector v)
public NSItemListImpl(XSNamespaceItem[] array, int length)
array - the data arraylength - the number of elementspublic int getLength()
Objects in the list. The range of valid
child node indices is 0 to length-1 inclusive.getLength in interface XSNamespaceItemListpublic XSNamespaceItem item(int index)
XSNamespaceItemListindexth item in the collection or
null if index is greater than or equal to
the number of objects in the list. The index starts at 0.item in interface XSNamespaceItemListindex - index into the collection.XSNamespaceItem at the indexth
position in the XSNamespaceItemList, or
null if the index specified is not valid.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.