users@jaxb.java.net

Re: Does XmlJavaTypeAdapter work on package-info.java?

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Mon, 8 Nov 2010 08:18:03 +0100

There is a tested example with the @XmlJavaTypeAdapter on a user-defined
class (not derived from an XML schema).

I'm not sure what you mean by "internal classes" and the next two questions.
Can you be more specific or provide an example?

-W


On 6 November 2010 19:02, Kevin Aloisi <kaloisi_at_attivio.com> wrote:

>
> I've been struggling to get the XmlJavaTypeAdapter working. Can anyone
> confirm that is works in any other place than on a field? If I added it to
> the class itself or to the package-info.java it never gets called.
>
> If it's not supported (which old posting say), Does anyone know if you can
> register a XmlJavaTypeAdapter using the internal classes? What exactly is
> the class replacement stuff? How about adding a TypeReference? Any help
> would be awesome..
>
> Thanks
> --Kevin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>