Package org.kuali.rice.core.util.jaxb
Interface RiceXmlListAdditionListener<T>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DataXmlDTO,PermissionsXmlDTO,RoleMembersXmlDTO,RoleMembersXmlDTO.OutsideOfRole,RoleMembersXmlDTO.WithinRole,RolePermissionsXmlDTO,RolePermissionsXmlDTO.OutsideOfRole,RolePermissionsXmlDTO.WithinRole,RolesXmlDTO
public interface RiceXmlListAdditionListener<T> extends Serializable
Helper interface for use with the RiceXmlStreamingList class.If "streaming" of child elements is desired during JAXB unmarshalling, then the parent element assigns an instance of RiceXmlStreamingList to the appropriate list field/property, and gives the list an implementation of this interface for the list to invoke whenever it receives a newly-unmarshalled child element. This allows the implementation to process the new element and then discard it.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnewItemAdded(T item)This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.
-
-
-
Method Detail
-
newItemAdded
void newItemAdded(T item)
This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.- Parameters:
item- The unmarshalled element (or adapter-generated object) to be processed.
-
-