Hi,
I have a question about unmarshalling unordered mapping.
Here is an example XML document:
<a>
<b>...</b>
<c>...</c>
</a>
And binding for the document:
<binding>
<mapping name="a" class="A" ordered="false">
<value name="b" field="b"/>
<value name="c" set-method="setC"/>
</mapping>
</binding>
Here, when "setC()" requires value "b"(*1) and it appears
"c" before "b" in the document(*2), unmarshalling will
fail.
How to instantiate in unordered mapping by specified
order? Any help is appreciated.
Thanks,
Dryad
*1:
void setC(int c) {
c = new C(b, c);
}
*2:
<a>
<c>...</c>
<b>...</b>
</a>
--------------------------------------
Start Yahoo! Auction now! Check out the cool campaign
http://pr.mail.yahoo.co.jp/auction/
-------------------------------------------------------------------------
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