Hi Peter,
See the earlier discussion thread with Christian Foltin on this topic at
http://marc.theaimsgroup.com/?l=jibx-users&m=114016129132746&w=2
- Dennis
Peter Birchmeier wrote:
Hi,
I'ld like to use the multiple inheritance feature to serialize a gui
component tree. My class model looks like the following:
class abstract A { int aValue; }
class B extends A { }
class C extends B { }
My mapping:
<binding>
<mapping class="A" abstract="true">
</mapping>
<mapping class="B" extends="A">
<structure map-as="A" />
</mapping>
<mapping class="C" extends="B">
<value name="aValue" field="aValue" />
<structure map-as="B" />
</mapping>
</binding>
.. creates following xml-output of an object of class C:
<C>
<B>
<aValue>0</aValue>
</B>
</C>
My problem is that JiBX creates a nested parent class tag <B>. Isn't
there a way to suppress the creation of the nested tag? ..to be able
to generate <C><aValue>0</aValue></C>?
Thanks for any hints in advance.
kind regards, Peter Birchmeier
-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
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