public class RolesXmlDTO extends Object implements RiceXmlListAdditionListener<RoleXmlDTO>, RiceXmlListGetterListener<RoleXmlDTO,Object>, Serializable
Constructor and Description |
---|
RolesXmlDTO() |
RolesXmlDTO(List<? extends Object> rolesToExport) |
Modifier and Type | Method and Description |
---|---|
List<RoleXmlDTO> |
getRoles() |
RoleXmlDTO |
gettingNextItem(Object nextItem,
int index)
A listener method that converts the given item into the one expected by the list.
|
void |
newItemAdded(RoleXmlDTO item)
This method is invoked whenever the associated RiceXmlStreamingList instance receives
a newly-unmarshalled child element.
|
void |
setRoles(List<RoleXmlDTO> roles) |
public RolesXmlDTO()
public RolesXmlDTO(List<? extends Object> rolesToExport)
public List<RoleXmlDTO> getRoles()
public void setRoles(List<RoleXmlDTO> roles)
public void newItemAdded(RoleXmlDTO item)
RiceXmlListAdditionListener
newItemAdded
in interface RiceXmlListAdditionListener<RoleXmlDTO>
item
- The unmarshalled element (or adapter-generated object) to be processed.RiceXmlListAdditionListener.newItemAdded(java.lang.Object)
public RoleXmlDTO gettingNextItem(Object nextItem, int index)
RiceXmlListGetterListener
gettingNextItem
in interface RiceXmlListGetterListener<RoleXmlDTO,Object>
nextItem
- The item to convert.index
- The index being accessed on the RiceXmlExportList instance.RiceXmlListGetterListener.gettingNextItem(java.lang.Object, int)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.