|
|||||||||
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.StringListImpl
Containts a list of Object's.
Constructor Summary | |
StringListImpl(java.lang.String[] array,
int length)
Construct an XSObjectList implementation |
|
StringListImpl(java.util.Vector v)
|
Method Summary | |
int |
getLength()
The number of Objects in the list. |
java.lang.String |
item(int index)
Returns the index th 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 StringListImpl(java.util.Vector v)
public StringListImpl(java.lang.String[] array, int length)
array
- the data arraylength
- the number of elementsMethod Detail |
public int getLength()
Objects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.getLength
in interface StringList
public java.lang.String item(int index)
StringList
index
th item in the collection. The index
starts at 0. If index
is greater than or equal to the
number of objects in the list, this returns null
.item
in interface StringList
org.apache.xerces.impl.xs.psvi.StringList
index
- index into the collection.GenericString
at the index
th
position in the StringList
, or null
if
that is not a valid index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |