Hi guys,
I've an ArrayList which contains instances of a class RTDRequest. For
various reasons, I've defined
a custom marshaller/unmarshaller for this class.
I thought I'd use a <collection> in the binding, and define a <format>
element to set the serializer/deserializer for
the class type, thinking that JiBX would see the class type in the
collection and look for the appropriate de/serializer.
But that didn't happen, at best all I got was an RTDRequest.toString() :(
Does anyone have any ideas ?
I've tried both:
<collection field="rtd_reqs">
<value name="rq"/>
</collection>
and:
<collection field="actionDescriptors"
item-type="gr.talent.cruiser.dataManager.fetch.queue.RTDRequest" />
and my <format> tag is:
<format type="gr.talent.cruiser.dataManager.fetch.queue.RTDRequest"
serializer="gr.talent.cruiser.dataManager.fetch.queue.JiBXHelper.marshallRTD
Request"
deserializer="gr.talent.cruiser.dataManager.fetch.queue.JiBXHelper.unmarshal
lRTDRequest"/>
Cheers, Angel
O:]
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users