|Generate Java classes from XSD [message #602685]
||Wed, 31 October 2007 03:39
Registered: July 2009
I am new to tools such as JAXB, so please forgive me if the answer is |
I am trying to generate java classes from an XSD document. I installed a
plugin for JAXB (version 2.1). This generated my classes, but it
generated '@Xml*' code: eg:
These do not work with java 1.6, and I don't want to have to revert back
to java 1.5.
I am essentially trying to find an easier way to deal with xml rather than
using SAX and DOM directly. I don't really want to have to worry about
the underlying XML structure. I wish to just pump my data into the java
objects, and then marshal the java data into the xml file that I require.
With the objects bound using the xsd document, I know this is achievable
(and many out there are probably doing this already).
I have a simple project I am working on so I can get my knowledge up to
speed. Having the right plugin would be helpful. Can somebody please
point me in the right direction.
Powered by FUDForum
. Page generated in 0.01815 seconds