public class JBossXSStringList extends Object implements org.apache.xerces.xs.StringList
Constructor and Description |
---|
JBossXSStringList() |
JBossXSStringList(Collection<String> col) |
JBossXSStringList(List<String> alist) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(String str) |
boolean |
contains(String item)
Checks if the
GenericString item is a member
of this list. |
int |
getLength()
The number of
GenericString s in the list. |
String |
item(int index)
Returns the
index th item in the collection or
null if index is greater than or equal to
the number of objects in the list. |
List<String> |
toList() |
String |
toString() |
public JBossXSStringList()
public JBossXSStringList(Collection<String> col)
public int getLength()
GenericString
s in the list. The range of
valid child object indices is 0 to length-1
inclusive.getLength
in interface org.apache.xerces.xs.StringList
public boolean contains(String item)
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.GenericString
item
.public String item(int index)
index
th item in the collection or
null
if index
is greater than or equal to
the number of objects in the list. The index starts at 0.item
in interface org.apache.xerces.xs.StringList
index
- index into the collection.GenericString
at the index
th
position in the StringList
, or null
if
the index specified is not valid.public void addItem(String str)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.