[stringtemplate-interest] ST4: Is reset missing or has it been removed?
Daniel Kasmeroglu
Daniel.Kasmeroglu at Kasisoft.net
Tue Jan 18 17:45:54 PST 2011
Am 19.01.2011 02:25, schrieb Collin Fagan:
> I was looking to reuse a template and just pass in new data but I can't find
> a reset-like method in ST4. Are templates disposable now? Should I just keep
> creating new instances?
>
It has been gone. The method 'getInstanceOf' delivers a cached and "clean" one,
so basically it behaves as you need it but it's now builtin so you don't need
to reset the input anymore.
--
Best regards
Daniel Kasmeroglu (Dipl.-Inform.)
http://www.kasisoft.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Daniel_Kasmeroglu.vcf
Type: text/x-vcard
Size: 247 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110119/24aba2ea/attachment.vcf
More information about the stringtemplate-interest
mailing list