groovy.text
Class SimpleTemplateEngine

java.lang.Object
  extended bygroovy.text.TemplateEngine
      extended bygroovy.text.SimpleTemplateEngine

public class SimpleTemplateEngine
extends 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.

Author:
sam

Constructor Summary
SimpleTemplateEngine()
           
 
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

SimpleTemplateEngine

public SimpleTemplateEngine()
Method Detail

createTemplate

public Template createTemplate(java.io.Reader reader)
                        throws SyntaxException,
                               java.lang.ClassNotFoundException,
                               java.io.IOException
Specified by:
createTemplate in class TemplateEngine
Throws:
SyntaxException
java.lang.ClassNotFoundException
java.io.IOException


Copyright © 2003-2004 The Codehaus. All Rights Reserved.