File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes If conditions using JAXB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "If conditions using JAXB" Watch "If conditions using JAXB" New topic
Author

If conditions using JAXB

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

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.


Thanks,
Pramod
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If conditions using JAXB
 
Similar Threads
which jar file includes InterningXMLReader.class
object to XML
Java API to parse an XML schema !
need help in JAXB
How do you parse an XML File?