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
index th 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.XSObjectList
public org.apache.xerces.xs.XSObject 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.XSObjectList
index
- index into the collection.XSObject
at the index
th
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 Collection
size
in interface List
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
public boolean contains(Object o)
contains
in interface Collection
contains
in interface List
public Iterator iterator()
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
public boolean add(Object o)
add
in interface Collection
add
in interface List
public boolean remove(Object o)
remove
in interface Collection
remove
in interface List
public boolean containsAll(Collection objects)
containsAll
in interface Collection
containsAll
in interface List
public boolean addAll(Collection collection)
addAll
in interface Collection
addAll
in interface List
public boolean addAll(int i, Collection collection)
public boolean removeAll(Collection objects)
removeAll
in interface Collection
removeAll
in interface List
public boolean retainAll(Collection objects)
retainAll
in interface Collection
retainAll
in interface List
public void clear()
clear
in interface Collection
clear
in interface List
public int lastIndexOf(Object o)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int i)
listIterator
in interface List
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.