[antlr-interest] StringTemplate

matthew ford Matthew.Ford at forward.com.au
Sat May 1 18:37:38 PDT 2004


The detailed docs at www.webstringtemplates.com might be useful as they go
into more detail about accessing beans within beans and also display the
data as an html page.  You can pretty much apply any ideas from
webstringtempates to Ter's stringtemplates as webstringtemplates was derived
from stringtempates.
all the best
matthew
----- Original Message ----- 
From: "william_surowiec" <william.surowiec at thomsonmedia.com>
To: <antlr-interest at yahoogroups.com>
Sent: Sunday, May 02, 2004 6:32 AM
Subject: [antlr-interest] StringTemplate


> I am having conceptual problems in approaching a task on which I
> believe StringTemplate (ST hereafter) would be excellent.
>
> I will be creating an "xml-ish" view of a complex Java object. Make
> believe the example of "persons" in the documentation for ST was
> richer. Imagine, in addition to name and age, each person had zero or
> more courses taken while in school. Getting more complex, imagine,
> for each course, the person may have taken it one or more times (God
> knows I did). Lastly, imagine any person may have attended zero or
> more schools.
>
> I can build a Java bean, containing collections of other beans,
> containing other beans, ..., expressing this collection of stuff. But
> I do not see how I can get ST to process this structure - unless I am
> missing something.
>
> Any enlightenment would be deeply appreciated.
>
> Thanks
>
> Bill
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list