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 how to generate java class from XML contenct Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to generate java class from XML contenct" Watch "how to generate java class from XML contenct" New topic
Author

how to generate java class from XML contenct

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
I have an XML file like the following
and I need to generate a java class dynamically based on this XML like the following



Actually our XML file contains 30 fields (including String, int, long, etc.. data types). when we execute the corresponding code.. we need to parse the XML file and need to generate corresponding java class dymanillay. Is that possible in java? how does ?


Thanks,
Kumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to generate java class from XML contenct