users@jaxb.java.net

Re: Enumerations (Restictions)

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 16 May 2005 11:31:26 -0700

Jon Richards wrote:
> One other question that I forgot to ask...
> In JAXB2.0 will we be able to access the enumeration (restrictions) that
> are in schemas. I seem to remember a promise of this when Java 5.0 was
> available.

We generate enum classes from a suitable simple type definition. Is that
what you mean?

Accessing "schema components" as defined in the schema spec requires you
to use another library like XSOM, though.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com