• Post Reply Bookmark Topic Watch Topic
  • New Topic

If conditions using JAXB

 
pramod talekar
Ranch Hand
Posts: 367
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
Boost this thread!