users@jaxb.java.net

Re: _at_XmlJavaTypeAdapter questions

From: Joris Melchior <Joris.Melchior_at_fmr.com>
Date: Mon, 25 Aug 2008 07:49:51 -0700 (PDT)

My mistake, you're correct, the space makes no difference, for some reason
the Adapter4.class had not been 'found' by Eclipse after running xjc and
that caused the problem. I realized that after firing off the post.

Thanks, Joris.


Wolfgang Laun-2 wrote:
>
> On Mon, Aug 25, 2008 at 4:13 PM, Melchior, Joris <Joris.Melchior_at_fmr.com>
> wrote:
>
>> Another thing I noticed is that where it does create the proper adapter
>> for
>> me when using conversion of simple types the generated code is annotated
>> like this;
>>
>> @XmlJavaTypeAdapter(Adapter4 .class)
>>
>> The space between 'Adapter4' and '.class' is generated and gives errors
>> as
>> you would expect.
>
> This I don't, the argument type being Class<? extends XmlAdapter>, and
> there's no reason that there can't be some white space before and/or after
> the period between a class name and one of its static fields.
>
> Which error message do you get from which compiler?
> -Wolfgang
>
>>
>> I'm working with version 2.1.7.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/%40XmlJavaTypeAdapter-questions-tp19144616p19145297.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.