|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.util.NSItemListImpl
public class 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 or
null if index is greater than or equal to
the number of objects in the list. |
Methods inherited from class java.lang.Object |
---|
equals, 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 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 XSNamespaceItemList
index
- index into the collection.
XSNamespaceItem
at the index
th
position in the XSNamespaceItemList
, or
null
if the index specified is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |