aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML and Java Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML and Java Classes" Watch "XML and Java Classes" New topic
Author

XML and Java Classes

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
I know JAXB can generate XML to Java. Usually the XML represents instance data.

What if the XML does not represent instance data but represents actually Meta data. I know people will oh that should be your XSD.

But sometimes XSD is difficult to read. So let's say the Meta model for the domain model is defined in XML, what is the best way to generate that to Java classes?

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XML and Java Classes