[stringtemplate-interest] String manipulations

Emond Papegaaij e.papegaaij at student.utwente.nl
Mon Aug 28 09:07:16 PDT 2006


Hello,

First of all: StringTemplate really rocks! It's clean, easy to use and 
really powerful!

There is however a single problem I keep facing. In many places I have to 
generate get- and set-methods for properties. For example the 
property 'value' will get the methods 'getValue' and 'setValue'. Right now 
I'm passing both the lower case 'value' and the upper case 'Value' to 
these templates, but this is rather cumbersome. Is there any way to 
perform simple string transformations with StringTemplate? That would 
greatly simplify most of my templates.

Best regards,
Emond Papegaaij


More information about the stringtemplate-interest mailing list