NSItemListImplpublic class NSItemListImpl extends Object implements XSNamespaceItemListContaints a list of Object's. |
Fields Summary |
---|
private XSNamespaceItem[] | fArray | private int | fLength | private Vector | fVector |
Constructors Summary |
---|
public NSItemListImpl(Vector v)
fVector = v;
fLength = v.size();
| public NSItemListImpl(XSNamespaceItem[] array, int length)Construct an XSNamespaceItemList implementation
fArray = array;
fLength = length;
|
Methods Summary |
---|
public int | getLength()The number of Objects in the list. The range of valid
child node indices is 0 to length-1 inclusive.
return fLength;
| public com.sun.org.apache.xerces.internal.xs.XSNamespaceItem | item(int index)
if (index < 0 || index >= fLength)
return null;
if (fVector != null) {
return (XSNamespaceItem)fVector.elementAt(index);
}
return fArray[index];
|
|