Hello, if I understand you right you will bind only class B to an xml element as in this example:
<XMLTag go="go" two="two" exam="exam" example1="1"> This should do then: <mapping class="mypackage.A" flexible="true" odered="false abstract="true" type-name="theA"> <value name="go" field="pepe"/> <value name="two" field="lala"/> </mapping> <mapping name="XMLTag" class="mypackage.B" flexible="true" odered="false> <value name="exam" field="name"/> <value name="exampel" field="num" deserializer="myPackage.deserializeInt/> <structure map-as="theA"/> </mapping> Mathias -------- Original-Nachricht -------- Datum: Thu, 7 Sep 2006 09:40:54 -0300 Von: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> An: "JiBX users" <[email protected]> Betreff: Re: [jibx-users] Binding extended classes > I tried that too, but did not work... besides, both classes must match > the same tag element, but only class B must be a real instance... I > explained it wrong in my first post: I do not need to have an instance > of class A, but (for business logic) I can not merge both classes in > just one. > > ------------------------------------------------------------------------- > 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 -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail ------------------------------------------------------------------------- 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
