Checkpoint for the Rhino Script engine integration

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-04-27 09:39:25 +00:00
parent 71f59c540e
commit 1757cec4f8
9 changed files with 214 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ public class TemplateServiceImpl implements TemplateService, ApplicationContextA
}
public void processTemplateString(String engine, String template, Object model, Writer out)
throws TemplateException
throws TemplateException
{
try
{
@@ -146,15 +146,13 @@ public class TemplateServiceImpl implements TemplateService, ApplicationContextA
}
}
public String processTemplateString(String engine, String template, Object model)
throws TemplateException
throws TemplateException
{
Writer out = new StringWriter(1024);
processTemplateString(engine, template, model, out);
return out.toString();
}
/**