I'm working with some XML documents whose element names are uppercased with
dashes.  E.g., 

        <ELEMENT-FOO/>

Castor (0.9.4.3) generates methods for such an element like:

        getELEMENTFOO()

What's the best way to override this behavior (for all elements) so that I
get:

        getElementFoo()

?  I.e., lowercase the entire element name, except for the first char and
chars immediately after a dash.  Should I subclass JavaNaming, or use a
binding file?  I don't want to have to explicitly define the convention for
each element in the schema.


Btw, I saw a similar question posted here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg11612.html

but that had more to do with a change between castor versions.

thanks!

--
justin

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to