|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.text.TemplateEngine
groovy.text.SimpleTemplateEngine
public class SimpleTemplateEngine
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.
Constructor Summary | |
---|---|
SimpleTemplateEngine()
|
|
SimpleTemplateEngine(boolean verbose)
|
Method Summary | |
---|---|
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 |
Constructor Detail |
---|
public SimpleTemplateEngine()
public SimpleTemplateEngine(boolean verbose)
Method Detail |
---|
public Template createTemplate(java.io.Reader reader) throws CompilationFailedException, java.io.IOException
createTemplate
in class TemplateEngine
CompilationFailedException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |