play.templates
Class Template.ExecutableTemplate

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Script
          extended by play.templates.Template.ExecutableTemplate
All Implemented Interfaces:
groovy.lang.GroovyObject
Enclosing class:
Template

public abstract static class Template.ExecutableTemplate
extends groovy.lang.Script

Groovy template


Constructor Summary
Template.ExecutableTemplate()
           
 
Method Summary
 java.lang.Class _(java.lang.String className)
           
 java.lang.Object getProperty(java.lang.String property)
           
 void invokeTag(java.lang.Integer fromLine, java.lang.String tag, java.util.Map<java.lang.String,java.lang.Object> attrs, groovy.lang.Closure body)
           
 
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, invokeMethod, print, println, println, run, run, setBinding, setProperty
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template.ExecutableTemplate

public Template.ExecutableTemplate()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class groovy.lang.Script

invokeTag

public void invokeTag(java.lang.Integer fromLine,
                      java.lang.String tag,
                      java.util.Map<java.lang.String,java.lang.Object> attrs,
                      groovy.lang.Closure body)

_

public java.lang.Class _(java.lang.String className)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly