Chris Black wrote:
Hello, I'm a new JiBX user and have been through the full tutorial and
have some simple bindings up and running. I am evaluating JiBX (along
with StAX) as a replacement for JDOM for serializing fairly large sets
(thousands of
[stuff deleted]
2) Is there a recommended best-practices way to handle hierarchies of
collections in JiBX? I've found a few mentions in
Turned up a new little challenge. Some of our data structures are
themselves collections, rather than containing collections. That is, we
have:
class DataList extends ArrayList { ... }
rather than
class DataList {
private ArrayList contents;
}
Which means the example bindings:
<mapping name="blah" class="Blah">
<collection field="contentsList" item-type="contentsItem"/>
</mapping>
will not work for us. Is there a way around this? I can't see a way to
make a collection a top-level root element.
Thanks,
Chris
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users