Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xpn.xwiki.render.groovy
Class GroovyTemplateEngine  view GroovyTemplateEngine download GroovyTemplateEngine.java

java.lang.Object
  extended byTemplateEngine
      extended bycom.xpn.xwiki.render.groovy.GroovyTemplateEngine

public class GroovyTemplateEngine
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. The variable 'out' is bound to the writer that the template is being written to.


Nested Class Summary
private static class GroovyTemplateEngine.SimpleTemplate
           
 
Constructor Summary
GroovyTemplateEngine()
           
 
Method Summary
 Template createTemplate(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyTemplateEngine

public GroovyTemplateEngine()
Method Detail

createTemplate

public Template createTemplate(java.io.Reader reader)
                        throws CompilationFailedException,
                               java.lang.ClassNotFoundException,
                               java.io.IOException