}
this.getLibrary().populateTemplateContext(templateContext);
try
{
final TemplateEngine engine = this.getLibrary().getTemplateEngine();
final StringWriter output = new StringWriter();
engine.processTemplate(
this.getTemplate(),
templateContext,
output);
final String outputString = output.toString();
final BufferedReader input = new BufferedReader(new StringReader(outputString));