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

xsd to java class

 
Madhumitha Baskaran
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am new to castor. Can anybody how to convert xsd to classes using SourceGenerator


 
Blaise Doughan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered using JAXB? It is the Java standard (JSR-222) for converting Java objects to/from XML. For an example of running MOXy JAXB's schema to class compiler see:

- http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JAXB/Compiler
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic