Community
Participate
Working Groups
(Post-3.0 tracking) XmlJavaTypeAdapter needs more and better model support.
In particular, it is important to note that an XmlAdapter transforms the type of the java attribute from its declared type to a type determined by the adapter implementation. Much validation of other annotations depends on this attribute type being interpreted correctly.
Added support for adapting attributes whether the annotation is on: - the attribute itself - the class to be adapted - the package containing the attribute - the package containing the class to be adapted Validation proved trickier. We added the adapted-*to* type to the JAXB context, and that applies default mapping information, so any validation of *that* type will be performed. But pretty much any type will automatically be mapped, so beyond that, there's not much to be done. Support added for 3.1 M3