How generate XMLElementWrapper annotation with xjc and customized binding

Bjarne Hansen developed a plugin for xjc that was able to take care of this. Unfortunately, the link to the original implementation is now dead. However, there is a project by Dmitry Katsubo on github, based on Bjarne’s original code with some additional improvements.

https://github.com/dmak/jaxb-xew-plugin


(Just for reference: the original link, now dead: http://www.conspicio.dk/blog/bjarne/jaxb-xmlelementwrapper-plugin)

Leave a Comment