OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   xml mapping

[ Lists Home | Date Index | Thread Index ]


I have a question about Castor mapping files:
I have an XML file of the following form:

  <b> </b>
  <c> </c>
  <d> </d>
So actually, the element in <a> is a choice between b, c and d

I 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{}

I'm trying to map the xml file above to the java structure with one mapping file.
Is this possible, and if yes, how?

Could you help me with this problem?




News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS