Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to generate java class from XML contenct

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic