Hello,
I want to make a batch that use a bean org.springframework.batch.item.xml.StaxEventItemWr iter; in the class XStreamMarshaller 'useAttributesFor' property takes either a <String, Class> map or a <Class, String> map,
and in my config file I don't be able to make a <String, Class>!!!
Do you have any examples of using useAttributeFor on XStreamMarshaller ?
This example of code :
<util:map id="aliases">
<entry key="trade" value="org.springframework.batch.sample.domain.Tra de" />
</util:map>
=> return <String,String>
An other possibility is to use annotation "XStreamAsAttribute" but it seems to me that the annotation not be applied.
Thanks in advance
Steph


!!!
Reply With Quote