On Thu, Nov 26, 2009 at 2:34 PM, xtien <christine_at_christine.nl> wrote:
>
> The Jaxb Eclipse plugin generates @XmlElement annotations with the field
> names. In my app, it would be more convenient to have the annotations with
> the getter.
Why? Perhaps you post what you want to achieve.
> I have seen an example where the annotation is with the getter.
>
This was probably coded by hand.
-W
> How do I make Jaxb put annotations with getters rather than with fields?
>
>
Thanks :-)
>
> --
> View this message in context:
> http://old.nabble.com/how-to-get-the-annotations-with-the-methods-in-stead-of-with-the-fields--tp26529506p26529506.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>