users@jaxb.java.net

Re: jaxb customization question

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 20 Oct 2006 06:47:54 -0700

Roderico Cruz wrote:
> What is the syntax of a jaxb customization where there is a user-created
> class that is supposed to be used instead of the the generated binding
> class, say for an element?

The <jaxb:class @implClass> works in 2.0, but it's really a clunky way
of doing it. If you search the archive with "implClass", you'll see why
it's not so great.

In 2.1 EA, you can add <jaxb:class ref="org.acme.foo.className"/> and
that would work better than implClass.

I really need to start documenting 2.1 features!

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com