[xstream-user] Apache Commons PredicatedMap Serialization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[xstream-user] Apache Commons PredicatedMap Serialization




I am using a PredicatedMap from Apache Commons for my Map field: criteriaElements. Attached is the xml I get back from the serialization.



I want it to look like the map generated from the MapConverter:



<criteriaElements >


































Any ideas? I couldn’t figure out a good way to create a Converter that extends MapConverter because then I would have to send in a Mapper into the Constructor. Is there a better way?


p.s. I tried to send the xml in this message also, but I kept getting a “Message larger than 30000 bytes” from the Daemon.


Roshan Punnoose

Phone: 301-497-6039


predicateMessage.txt (4K) Download Attachment