There is no way to achieve this with annotations. If you need additional
subclasses of classes derived from your schema, why don't you extend the
schema?
If you describe your original problem, perhaps there is a better solution.
On 9/23/08, Maciej Zubala <maciej.zubala_at_gmail.com> wrote:
>
> Hi,
>
> I've got problems with inheritance in jaxb and I find on some forums that
> to solve my problem I need to annotate one class with XMLSeeAlso annotation.
> Unfortunatelly I cannot do it in java code generated from xsd, so here is my
> question: is it posible to put this annotation in xsd file so that xjc will
> annotate a java class automatically for me ??
>