users@jaxb.java.net

jxc : Inheritance for only one classe?

From: Yannick <ymartel_at_wiztivi.com>
Date: Thu, 14 Oct 2010 16:24:07 +0200

Hello!

I have to generate some classes from a XSD file.

I would like to knwo if it is possible to generate a class with a
specific super class?

I'va found the tag <xjc:superClass name="mySuperClass"/>, but it seems
to work only in a <jxb:globalBindings>, and apply it for all the
classes!
I've tried to add the superClass tag in a "jxb:bindings
node="//xs:elemment[@name='mynode']" with any results :/

I use 2.2.1 version of jaxb-api and 0.7.4 version of maven-jaxb2-plugin.


Regards,

Yannick.