Hi Vairoj,
There's really no way to change the ordering of the collection when
either marshalling or unmarshalling. Your best approach for doing
something of this type is to create a separate collection that's sorted
the way you want (or sort the existing one) using a pre-get or post-set
method.
- Dennis
Vairoj A. wrote:
Hi,
From my understanding, the order of element in a collection generated
by JibX when unmarshalling is determine by "iter-method" of that
collection. Is it possible to define a different ordering for JibX to
use when unmarshalling, for example, I have a custom Comparator that
sort items in the collection by some attribute.
Cheers,
Vairoj
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users