users@jersey.java.net

Re: [Jersey] How can I make Inflecter to capitalize initial

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Fri, 26 Jun 2009 11:48:17 -0700

I think this is a question for JAXB users list, not Jersey?

Usually you can annotate methods to indicate element/attribute name to
use for the associated property. I don't think JAXB is designed to
make default name mangling logic configurable, but I could be wrong
here.

-+ Tatu +-

On Fri, Jun 26, 2009 at 5:05 AM, testn<test1_at_doramail.com> wrote:
>
> Basically, I'm trying to make Class to be capitalized... i.e. Currency,
> Person etc. And then when I represent List<T>, I would like to make
> Inflecter to capitalize them as well
>
> so instead of
>
> <currencies>
> <Currency>
> <currencyCode>USD</currencyCode>
> <currencyDescription>US Dollar</currencyDescription>
> </Currency>
> </currencies>
>
> I'd like to have
> <Currencies>
> <Currency>
> <currencyCode>USD</currencyCode>
> <currencyDescription>US Dollar</currencyDescription>
> </Currency>
> </Currencies>
>
> Is there a way to configure it?
>
> Thanks!!!!
>
> --
> View this message in context: http://n2.nabble.com/How-can-I-make-Inflecter-to-capitalize-initial-tp3161130p3161130.html
> Sent from the Jersey mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>