public class JBossXSObjectList extends Object implements org.apache.xerces.xs.XSObjectList
| Constructor and Description |
|---|
JBossXSObjectList() |
JBossXSObjectList(List lst) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int i,
Object o) |
boolean |
add(Object o) |
boolean |
addAll(Collection collection) |
boolean |
addAll(int i,
Collection collection) |
void |
addItem(org.apache.xerces.xs.XSObject xsobj) |
void |
addItem(org.apache.xerces.xs.XSObject xsobj,
boolean shouldSort) |
void |
addObjects(org.apache.xerces.xs.XSObjectList lst) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection objects) |
Object |
get(int i) |
int |
getLength()
The number of
XSObjects in the list. |
int |
indexOf(Object o) |
boolean |
isEmpty() |
org.apache.xerces.xs.XSObject |
item(int index)
Returns the
indexth item in the collection or
null if index is greater than or equal to
the number of objects in the list. |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int i) |
Object |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection objects) |
boolean |
retainAll(Collection objects) |
Object |
set(int i,
Object o) |
int |
size() |
List |
subList(int i,
int j) |
Object[] |
toArray() |
Object[] |
toArray(Object[] objects) |
List |
toList() |
protected List list
public JBossXSObjectList()
public JBossXSObjectList(List lst)
public int getLength()
XSObjects in the list. The range of valid
child object indices is 0 to length-1 inclusive.getLength in interface org.apache.xerces.xs.XSObjectListpublic org.apache.xerces.xs.XSObject item(int index)
indexth 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.XSObjectListindex - index into the collection.XSObject at the indexth
position in the XSObjectList, or null if
the index specified is not valid.public void addItem(org.apache.xerces.xs.XSObject xsobj)
public void addItem(org.apache.xerces.xs.XSObject xsobj,
boolean shouldSort)
public void addObjects(org.apache.xerces.xs.XSObjectList lst)
public List toList()
public int size()
size in interface Collectionsize in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listpublic Iterator iterator()
public Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic boolean add(Object o)
add in interface Collectionadd in interface Listpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listpublic boolean containsAll(Collection objects)
containsAll in interface CollectioncontainsAll in interface Listpublic boolean addAll(Collection collection)
addAll in interface CollectionaddAll in interface Listpublic boolean addAll(int i,
Collection collection)
public boolean removeAll(Collection objects)
removeAll in interface CollectionremoveAll in interface Listpublic boolean retainAll(Collection objects)
retainAll in interface CollectionretainAll in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int i)
listIterator in interface ListCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.