This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
stuck up in the problem
how to define SSN format in WSDL
Mapping Java fields to attribute and element
is it possible to persist an ArrayList of POJO into database in hibernate?
Filtering XML using DOM