Dear all

I would like to (have to ;-) map a class on two different XML tag names, depending on a boolean attribute of the class.

class DogHound {
  Boolean dog;
  ...
}

if dog==true it should be bound to <DOG ... />
else it should be bound to <HOUND ... />

Could I do this by using two different mappings? Or a kind of factory?

I would be really glad for some kind of hint in which direction I should go.

Many thanks in advance!

Markus

--

________________________________________________________
Markus Jostock
Software Engineer
________________________________________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to