users@jersey.java.net

[Jersey] How can I make Inflecter to capitalize initial

From: testn <test1_at_doramail.com>
Date: Fri, 26 Jun 2009 05:05:22 -0700 (PDT)

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.