users@jaxb.java.net

Re: XJC plugin for custom Java names capitalization

From: Nicola Fagnani <nicfagn_at_iol.it>
Date: Sat, 4 Mar 2006 11:55:22 +0100

> I think we should host it on jaxb2-commons. I need to know your
> java.net account ID to add you (which I already know), and the name
> of this plugin.
>
> You wrote that this is "capitalize-all" plugin, but it seems to me
> that it's the opposite of capitalization. Maybe you'd like to call
> it "downcase-all"? Once I know the name, I can set up a CVS
> directory for you to put your files etc.

I meant capitalize every subword of a composite word, where
capitalize is intended as capitalize the first letter of a word. But,
as you noticed, one could easily understand it as capitalize all
letters of a word.
So, to resolve the ambiguity, we could call it "camelcase" plugin,
but XJC in fact already camel case the names it transforms. It only
omits to do so if the first letter of the subword is already
capitalized.
To express this, the name could be "camelcase-always" or "force-
camelcase", you pick the best or choose another one, I'll adapt the
code.
I made this with NetBeans 5.0: should I put the netbeans project
folder under CVS or there is a prescribed format I should use?