|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.xs.util.NSItemListImpl
Containts a list of Object's.
Constructor Summary | |
---|---|
NSItemListImpl(java.util.Vector v)
|
|
NSItemListImpl(XSNamespaceItem[] array,
int length)
Construct an XSNamespaceItemList implementation |
Method Summary | |
---|---|
int |
getLength()
The number of Objects in the list. |
XSNamespaceItem |
item(int index)
Returns the index th item in the collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NSItemListImpl(java.util.Vector v)
public NSItemListImpl(XSNamespaceItem[] array, int length)
array
- the data arraylength
- the number of elementsMethod Detail |
public int getLength()
Objects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.getLength
in interface XSNamespaceItemList
public XSNamespaceItem item(int index)
XSNamespaceItemList
index
th item in the collection. The index
starts at 0. If index
is greater than or equal to the
number of objects in the list, this returns null
.item
in interface XSNamespaceItemList
org.apache.xerces.impl.xs.psvi.XSNamespaceItemList
index
- index into the collection.XSNamespaceItem
at the index
th
position in the XSNamespaceItemList
, or
null
if that is not a valid index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |