Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20480
| From | Sebastian <sebastian@undisclosed.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Seeking info on JAXB and custom annotations |
| Date | 2012-12-19 00:06 +0100 |
| Organization | albasani.net |
| Message-ID | <kaqsov$hf1$1@news.albasani.net> (permalink) |
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
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Seeking info on JAXB and custom annotations Sebastian <sebastian@undisclosed.invalid> - 2012-12-19 00:06 +0100
Re: Seeking info on JAXB and custom annotations Arne Vajhøj <arne@vajhoej.dk> - 2012-12-18 20:17 -0500
Re: Seeking info on JAXB and custom annotations Sebastian <sebastian@undisclosed.invalid> - 2012-12-19 12:49 +0100
Re: Seeking info on JAXB and custom annotations Sebastian <sebastian@undisclosed.invalid> - 2012-12-19 19:23 +0100
csiph-web