org.apache.xerces.impl.xs.util
public class StringListImpl extends Object implements StringList
Version: $Id: StringListImpl.java,v 1.8 2004/10/06 15:14:50 mrglavas Exp $
Field Summary | |
---|---|
static StringList | EMPTY_LIST
An immutable empty list. |
Constructor Summary | |
---|---|
StringListImpl(Vector v) | |
StringListImpl(String[] array, int length)
Construct an XSObjectList implementation
|
Method Summary | |
---|---|
boolean | contains(String item)
Checks if the GenericString item is a member
of this list. |
int | getLength()
The number of Objects in the list. |
String | item(int index) |
Parameters: array the data array length the number of elements
GenericString
item
is a member
of this list.Parameters: item GenericString
whose presence in this list is
to be tested.
Returns: True if this list contains the GenericString
item
.
Objects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.