[stringtemplate-interest] ST4: serializable for Template for Template Group?

Terence Parr parrt at cs.usfca.edu
Sun Apr 17 09:37:10 PDT 2011


Hmm...oh,So you don't want me to actually specify the implementation, just insert "implements Serializable"?

Ter
On Apr 15, 2011, at 7:07 AM, Collin Fagan wrote:

> Hi Ter,
> 
> I've been using ST with Apache Wicket. Wicket uses serialization for short term storage of state. I'd like to be able to serialize a template and/or template group with my wicket page. Can you implement serializable in ST4? It really is just a marker interface, I'm not asking for a long term commit to any particular serialization strategy. Right now I subclass StringTemplateGroup and StringTemplate in ST3 and impliment Serializable to get around this. 
> 
> Thanks,
> 
> Collin
> _______________________________________________
> 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