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