wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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