0

For JAXB-generated classes, is it possible to specify that they extend a particular class or can they only extend Object?

Paul Reiners
  • 8,576
  • 33
  • 117
  • 202

1 Answers1

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