XJC has an extension for this purpose
.
.
.
For more information see:
- http://jaxb.java.net/nonav/2.0.2/docs/vendorCustomizations.html
The schema annotations can also be supplied via an external bindings file. For an example see:
- How do you customize how JAXB generates plural method names?