users@jaxb.java.net

Re: Getting Enumerations using API

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 13 May 2003 07:41:22 -0700

Sorry if I'm missing something, but what's wrong with the today's type-safe
enum support? You don't need to wait for JDK1.5 to use that.

Just add:

    <jaxb:typesafeEnumClass name="ProductTypeEnum" />

to the simple type. Or is this not what you are looking for?

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com