S
Sebastian
Does anyone know if (and how) it is possible to
a) generate Java classes with custom annotations from xsd schema, using
xjc? (The annotations would be on fields, but placing them on the
corresponding getters would be acceptable.) I have googled a bit, and
one possibiliy appears to be the annox plugin.
b) marshall/unmarshall these classes to XML and back with JAXB,
preserving the custom annotations? I have found no helpful information
on this part of the problem.
By "custom annotations" I mean non-JAXB annotations that would be
written by me.
-- Sebastian
a) generate Java classes with custom annotations from xsd schema, using
xjc? (The annotations would be on fields, but placing them on the
corresponding getters would be acceptable.) I have googled a bit, and
one possibiliy appears to be the annox plugin.
b) marshall/unmarshall these classes to XML and back with JAXB,
preserving the custom annotations? I have found no helpful information
on this part of the problem.
By "custom annotations" I mean non-JAXB annotations that would be
written by me.
-- Sebastian