[stringtemplate-interest] Invoke Java Method ( SOLVED )

Terence Parr parrt at cs.usfca.edu
Tue Jan 25 08:44:31 PST 2011


ST4 has one built it and you can use it with ST3 if you want.
Ter
On Jan 25, 2011, at 5:04 AM, Remi Marechal wrote:

> On Tue, 2011-01-25 at 06:32 -0600, Collin Fagan wrote:
>> 
>> I think you should look into writing a custom AttributeRenderer for
>> the String class. It will allow you a way to format your string before
>> it gets put into the template. 
>> 
>> <entity.name; format="UpperCamelCase">
>> 
> 
> Thank you, it is exactly what i want.
> 
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list