users@jaxb.java.net

Re: binding complexType element defintions to Fields

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Fri, 06 Jan 2006 10:45:05 -0800

mark_at_javector.com wrote:
> I know its possible to map Java fields to element definitions when generating
> schema from Java. However, is there a way to use the binding language to do
> the reverse - i.e., map an element definition to a JAXB generated Field
> (instead of a bean property with getter/setter methods)?

Unfortunately, no.

You are welcome to modify our compiler to do that, though :-)
You can modify field renderer a bit and you'll be done.

If you are interested in doing so, we can talk more about details.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com