public class

NSItemListImpl

extends Object
implements XSNamespaceItemList
java.lang.Object
   ↳ org.apache.xerces.impl.xs.util.NSItemListImpl

Class Overview

Containts a list of Object's.

Summary

Public Constructors
NSItemListImpl(Vector v)
NSItemListImpl(XSNamespaceItem[] array, int length)
Construct an XSNamespaceItemList implementation
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.xerces.xs.XSNamespaceItemList

Public Constructors

public NSItemListImpl (Vector v)

public NSItemListImpl (XSNamespaceItem[] array, int length)

Construct an XSNamespaceItemList implementation

Parameters
array the data array
length the number of elements

Public Methods

public int getLength ()

The number of Objects in the list. The range of valid child node indices is 0 to length-1 inclusive.

public 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. The index starts at 0.

Parameters
index index into the collection.
Returns
  • The XSNamespaceItem at the indexth position in the XSNamespaceItemList, or null if the index specified is not valid.