[stringtemplate-interest] Using StringTemplate with Java, may be obvious
Chris Gerrard
clgerrard at gmail.com
Sat Sep 5 13:41:59 PDT 2009
Can I simply pass a Java object (JavaBean perhaps) along and have
StringTemplate interrogate it for the properties to substitute into the
template?
I'm just starting with StringTemplate and can't find this in the doc,
even if it's a legitimate use of StringTemplate.
I'd rather not have to write the mechanical code to simply pull property
values from the Java object and set them with setAttribute(...)
Regards,
Chris
--
(301) 873-8451
Seeing leads to understanding.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090905/1616c086/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IISLogo48x46.png
Type: image/png
Size: 1781 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090905/1616c086/attachment.png
More information about the stringtemplate-interest
mailing list