org.apache.xerces.impl.xs.util
Class StringListImpl
java.lang.Object
org.apache.xerces.impl.xs.util.StringListImpl
- org.apache.xerces.xs.StringList
public class StringListImpl
extends java.lang.Object
implements org.apache.xerces.xs.StringList
Containts a list of Object's.
$Id: StringListImpl.java 320098 2004-10-06 15:14:55Z mrglavas $static org.apache.xerces.xs.StringList | EMPTY_LIST - An immutable empty list.
|
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)
|
EMPTY_LIST
public static final org.apache.xerces.xs.StringList EMPTY_LIST
An immutable empty list.
StringListImpl
public StringListImpl(String[] array,
int length)
Construct an XSObjectList implementation
array
- the data arraylength
- the number of elements
StringListImpl
public StringListImpl(Vector v)
contains
public boolean contains(String item)
Checks if the GenericString
item
is a member
of this list.
- contains in interface org.apache.xerces.xs.StringList
item
- GenericString
whose presence in this list is
to be tested.
- True if this list contains the
GenericString
item
.
getLength
public int getLength()
The number of Objects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.
- getLength in interface org.apache.xerces.xs.StringList
item
public String item(int index)
- item in interface org.apache.xerces.xs.StringList
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.