On Wed, 1 Jun 2011 09:57:15 +0200, Wolfgang Laun <wolfgang.laun_at_gmail.com>
wrote:
> The XML Schema element <xsd:extension base="..."> is one way of creating
a
> subclass from a superclass. See
>
http://jaxb.java.net/tutorial/section_2_2_13-Defining-Subtypes.html#Defining%20Subtypes
>
> Adding some "extends X" to a generated class where X has not been
generatod
> is not a good idea.
In my idea, X is not generated but contain my custom code (there is too
many methods to do this with xsd inclusion) and generated class inherit
from it.
--
Nicolas VINNOT