org.apache.xerces.impl.xs.util

Class NSItemListImpl

Implemented Interfaces:
org.apache.xerces.xs.XSNamespaceItemList

public class NSItemListImpl
extends java.lang.Object
implements org.apache.xerces.xs.XSNamespaceItemList

Containts a list of Object's.
Version:
$Id: NSItemListImpl.java 320098 2004-10-06 15:14:55Z mrglavas $
Author:
Sandy Gao, IBM

Constructor Summary

NSItemListImpl(Vector v)
NSItemListImpl(org.apache.xerces.xs.XSNamespaceItem[] array, int length)
Construct an XSNamespaceItemList implementation

Method Summary

int
getLength()
The number of Objects in the list.
org.apache.xerces.xs.XSNamespaceItem
item(int index)

Constructor Details

NSItemListImpl

public NSItemListImpl(Vector v)

NSItemListImpl

public NSItemListImpl(org.apache.xerces.xs.XSNamespaceItem[] array,
                      int length)
Construct an XSNamespaceItemList implementation
Parameters:
array - the data array
length - the number of elements

Method Details

getLength

public int getLength()
The number of Objects in the list. The range of valid child node indices is 0 to length-1 inclusive.
Specified by:
getLength in interface org.apache.xerces.xs.XSNamespaceItemList

item

public org.apache.xerces.xs.XSNamespaceItem item(int index)
Specified by:
item in interface org.apache.xerces.xs.XSNamespaceItemList

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.