public final class RiceXmlExportList<E,T> extends AbstractList<E> implements Serializable
These lists are constructed by passing in another list containing the unconverted items, as well as a listener that will create items of this list's type upon each invocation of the "get" method.
This is similar to the "streaming" unmarshalling strategy used in the RiceXmlImportList class, except that this list has been adapted for marshalling instead.
modCount| Constructor and Description |
|---|
RiceXmlExportList(List<? extends T> sourceList,
RiceXmlListGetterListener<E,T> listGetterListener)
Constructs a new export list that will rely on the given listener for converting the provided
list's items into the appropriate type.
|
| Modifier and Type | Method and Description |
|---|---|
E |
get(int index)
Passes the item at the given index of the internal list to the listener, and then returns
the listener's result.
|
int |
size()
Returns the size of the internal list.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic RiceXmlExportList(List<? extends T> sourceList, RiceXmlListGetterListener<E,T> listGetterListener)
sourceList - The list of objects to convert.listGetterListener - The listener to use.IllegalArgumentException - if sourceList or listGetterListener are null.public E get(int index)
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>Copyright © 2005–2016 The Kuali Foundation. All rights reserved.