This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion 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
 
Don't get me started about those stupid light bulbs.
 
subject: how to generate java class from XML contenct
 
It's not a secret anymore!