A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
XML and Java Classes
Joined: May 12, 2010
Sep 09, 2011 05:25:19
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?
It is sorta covered in the
JavaRanch Style Guide
subject: XML and Java Classes
How look at DOM element in XML (with backing Schema) and determine it's type, etc?
Data Binding Tools/API's
Newbie question - conversion of incoming XML document into generated object graph
class from xsd
Generate XML using XSD and data in CSV
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014