You can use the Inheritance extension provided by JAXB2 Basics plugins. This works for specific classes (i.e. xsd:complexType s)
This is also described in the answers to this question: Creating a JAXB class that implements the interface
rainer198
source share