users@jaxb.java.net

Re: Java 5 enum vs type-safe enum

From: Hanson Char <hanson.char_at_gmail.com>
Date: Sun, 29 Jan 2006 20:14:27 -0800

Yes you are right. Jaxb 2.0 already generates Java 5 enum.

Hanson

On 1/29/06, Hanson Char <hanson.char_at_gmail.com> wrote:
>
> I will try again and confirm. (Last time I remember I got the latest jaxb
> 2 release and just try the samples.)
>
> Hanson
>
> On 1/29/06, Kohsuke Kawaguchi < kohsuke.kawaguchi_at_sun.com> wrote:
> >
> > Kohsuke Kawaguchi wrote:
> > > It does generate the Java5 enums already, like, for the past year or
> > so.
> > > Are you sure you are looking at the JAXB RI 2.0? Did you check out
> > from
> > > "jaxb2-sources", instead of "jaxb-sources"?
> >
> > Looking from other e-mails, you are clearly using jaxb2-sources.
> >
> > What schema did you compile, and what type-safe enum pattern did you
> > see?
> >
> > --
> > Kohsuke Kawaguchi
> > Sun Microsystems kohsuke.kawaguchi_at_sun.com
> >
> >
> >
>