users@jaxb.java.net

Re: Interface inheritance

From: Steven Siebert <smsiebe_at_gmail.com>
Date: Mon, 2 May 2011 10:58:29 -0400

Hi Oblio,

I tried to do this as well without success in JAXB. I found a "lead" in
EclipseLink moXy, which extends the JAXB spec to provide support for
interfaces....but I haven't yet run this to ground. What I was trying to do
was add support for my enum "inheritence-like" approach, which uses
interfaces.

Please let me know if you resolve this!

S

On Mon, May 2, 2011 at 10:51 AM, Oblio Leitch <oblio.leitch_at_gmail.com>wrote:

> I'd like to assign an interface to all the enums generated through xjc.
> I've got the maven-jaxb2-plugin installed and working, but it appears to
> only alter the classes generated. Any way to do enums?
>
> Thanks,
> Oblio
>