com.xpn.xwiki.render.groovy
Class GroovyTemplateEngine
java.lang.Object
groovy.text.TemplateEngine
com.xpn.xwiki.render.groovy.GroovyTemplateEngine
public class GroovyTemplateEngine
- 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.
Method Summary |
groovy.text.Template |
createTemplate(java.io.Reader reader)
|
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 |
GroovyTemplateEngine
public GroovyTemplateEngine()
createTemplate
public groovy.text.Template createTemplate(java.io.Reader reader)
throws org.codehaus.groovy.control.CompilationFailedException,
java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
createTemplate
in class groovy.text.TemplateEngine
- Throws:
org.codehaus.groovy.control.CompilationFailedException
java.lang.ClassNotFoundException
java.io.IOException
Copyright 2003 Ludovic Dubost