[stringtemplate-interest] ST4: serializable for Template for Template Group?
Terence Parr
parrt at cs.usfca.edu
Sun Apr 17 11:06:03 PDT 2011
Done.
* Added implements Serializable to ST, STGroup.
Submitting change 8257.
Locking 3 files ...
edit //depot/code/ST4/java/main/CHANGES.txt#81
edit //depot/code/ST4/java/main/src/org/stringtemplate/v4/ST.java#37
edit //depot/code/ST4/java/main/src/org/stringtemplate/v4/STGroup.java#53
Change 8257 submitted.
Ter
On Apr 17, 2011, at 10:48 AM, Collin Fagan wrote:
> You can do as you like, I'm just saying you don't have to in order to satisfy my request.
>
> Collin
>
> On Sun, Apr 17, 2011 at 11:37 AM, Terence Parr <parrt at cs.usfca.edu> wrote:
> 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
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110417/21255885/attachment.html
More information about the stringtemplate-interest
mailing list