For JAXB-generated classes, is it possible to specify that they extend a particular class or can they only extend Object?
Asked
Active
Viewed 1,686 times
1 Answers
2
Sure you can with JAXB external binding.
You can read more here http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/2.0/jaxb/vendorCustomizations.html
Special tag you need is <xjc:superClass>

korifey
- 3,379
- 17
- 17