I have a question about Castor mapping files:
We're developing an application for Lucent Technologies and in this project we have an
XML file of the following form:
<a>
<b> </b>
</a>
<a>
<c> </c>
<a>
<a>
<d> </d>
<a>
So actually, the element in <a> is a choice between b, c and d
We have a java class structure like
class Ja {
Jx x;
}
abstract class Jx{}
class Jb extends Jx{}
class Jc extends Jx{}
class Jd extends Jx{}
We are trying to map the xml file above to the java structure with one mapping file.
Is this possible, and if yes, how?
I've tried to find this in the Castor documentation, but can't seem to find anything
like it.
Could you help me with this problem?
Regards,
Bas Velthuizen
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
S.J.H.Velthuizen, + + Lucent Technologies
[EMAIL PROTECTED] + + phone: +31 35 687 4364
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mad, adj.: Affected with a high degree of intellectual independence ...
-- Ambrose Bierce
-------------------------------------------------------------------------
Those who have to criticize other people are those whose minds are void
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev