|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.impl.xs.util.ShortListImpl
Containts a list of Object's.
| Constructor Summary | |
ShortListImpl(short[] array,
int length)
Construct an XSObjectList implementation |
|
| Method Summary | |
boolean |
contains(short item)
Checks if the unsigned short item is a
member of this list. |
int |
getLength()
The number of Objects in the list. |
short |
item(int index)
Returns the indexth item in the collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShortListImpl(short[] array,
int length)
array - the data arraylength - the number of elements| Method Detail |
public int getLength()
Objects in the list. The range of valid
child node indices is 0 to length-1 inclusive.getLength in interface org.apache.xerces.xs.ShortListpublic boolean contains(short item)
unsigned short item is a
member of this list.contains in interface org.apache.xerces.xs.ShortListitem - unsigned short whose presence in this list
is to be tested.unsigned short
item.
public short item(int index)
throws org.apache.xerces.xs.XSException
org.apache.xerces.xs.ShortListindexth item in the collection. The index
starts at 0.item in interface org.apache.xerces.xs.ShortListorg.apache.xerces.xs.ShortListindex - index into the collection.unsigned short at the indexth
position in the ShortList.org.apache.xerces.xs.XSException - INDEX_SIZE_ERR: if index is greater than or equal to the
number of objects in the list.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||