public interface RiceXmlListGetterListener<E,T> extends Serializable
If semi-"streaming" of child elements is desired during JAXB marshalling, then the parent element assigns an instance of RiceXmlExportList to the appropriate list field/property, and gives the list an implementation of this interface for the list to invoke whenever it needs to create a new instance of the next child element. This allows the implementation to create and then discard child elements during marshalling.
| Modifier and Type | Method and Description |
|---|---|
E |
gettingNextItem(T nextItem,
int index)
A listener method that converts the given item into the one expected by the list.
|
E gettingNextItem(T nextItem, int index)
nextItem - The item to convert.index - The index being accessed on the RiceXmlExportList instance.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.