users@jaxb.java.net

Re: JAXB + abstract JDK classes

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 24 Nov 2008 21:20:23 +0100

Hi.

> Is there any way to annotate abstract classes which are part of the JDK
> APIs?
>
> For instance, I would want to annotate java.security.Permission with
> XmlSeeAlso which points to my concrete class: CustomPermission. Does JAXB
> has any custom approach to do this?
>
> Appreciate any inputs.

Take a look at JAXB Introductions from JBoss. This allows you to
annotate any class in an external XML resource.

Bye.
/lexi