| java.lang.Object org.apache.xerces.impl.xs.util.XSObjectListImpl
XSObjectListImpl | public class XSObjectListImpl implements XSObjectList(Code) | | Containts a list of XSObject's.
author: Sandy Gao, IBM version: $Id: XSObjectListImpl.java 446723 2006-09-15 20:37:45Z mrglavas $ |
Method Summary | |
public void | add(XSObject object) | public void | add(int index, XSObject object) | public void | clear() | public int | getLength() The number of XSObjects in the list. | public XSObject | item(int index) Returns the index th item in the collection. |
XSObjectListImpl | public XSObjectListImpl()(Code) | | |
XSObjectListImpl | public XSObjectListImpl(XSObject[] array, int length)(Code) | | Construct an XSObjectList implementation
Parameters: array - the data array Parameters: length - the number of elements |
clear | public void clear()(Code) | | |
getLength | public int getLength()(Code) | | The number of XSObjects in the list. The range of valid
child node indices is 0 to length-1 inclusive.
|
item | public XSObject item(int index)(Code) | | Returns the index th item in the collection. The index
starts at 0. If index is greater than or equal to the
number of nodes in the list, this returns null .
Parameters: index - index into the collection. The XSObject at the index th position in theXSObjectList , or null if that is not avalid index. |
|
|