com.xpn.xwiki.render.groovy
Class XWikiSimpleTemplateEngine
java.lang.Object
groovy.text.TemplateEngine
com.xpn.xwiki.render.groovy.XWikiSimpleTemplateEngine
public class XWikiSimpleTemplateEngine
- extends groovy.text.TemplateEngine
This simple template engine uses JSP <% %> script and <%= %> expression syntax. It also lets you use normal groovy
expressions in the template text much like the new JSP EL functionality. The variable 'out' is bound to the writer
that the template is being written to.
Methods inherited from class groovy.text.TemplateEngine |
createTemplate, createTemplate, createTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWikiSimpleTemplateEngine
public XWikiSimpleTemplateEngine()
createTemplate
public groovy.text.Template createTemplate(Reader reader)
throws org.codehaus.groovy.control.CompilationFailedException,
IOException
- Specified by:
createTemplate
in class groovy.text.TemplateEngine
- Throws:
org.codehaus.groovy.control.CompilationFailedException
IOException
flushCache
public static void flushCache()
Copyright © 2004-2013 XWiki. All Rights Reserved.