Save This Page
Home » groovy-src-1.6.3 » groovy » text » [javadoc | source]
groovy.text
public class: SimpleTemplateEngine [javadoc | source]
java.lang.Object
   groovy.text.TemplateEngine
      groovy.text.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:
 public SimpleTemplateEngine() 
 public SimpleTemplateEngine(boolean verbose) 
 public SimpleTemplateEngine(ClassLoader parentLoader) 
 public SimpleTemplateEngine(GroovyShell groovyShell) 
Method from groovy.text.SimpleTemplateEngine Summary:
createTemplate,   isVerbose,   setVerbose
Methods from groovy.text.TemplateEngine:
createTemplate,   createTemplate,   createTemplate,   createTemplate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from groovy.text.SimpleTemplateEngine Detail:
 public Template createTemplate(Reader reader) throws CompilationFailedException, IOException 
 public boolean isVerbose() 
 public  void setVerbose(boolean verbose)