Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If conditions using JAXB

 
pramod talekar
Ranch Hand
Posts: 366
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to write an if condition where in if my xml file contains a specific tag then JAXB should unmarshal it into classA and if not, then into classB.

please advise.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic