org.codehaus.groovy.grails.web.pages
Class GroovyPageTemplate

java.lang.Object
  extended by org.codehaus.groovy.grails.web.pages.GroovyPageTemplate
All Implemented Interfaces:
groovy.text.Template

public class GroovyPageTemplate
extends java.lang.Object
implements groovy.text.Template

Knows how to make in instance of GroovyPageWritable.

Since:
0.5

Constructor Summary
GroovyPageTemplate(GroovyPageMetaInfo metaInfo)
           
 
Method Summary
 GroovyPageMetaInfo getMetaInfo()
           
 boolean isAllowSettingContentType()
           
 groovy.lang.Writable make()
           
 groovy.lang.Writable make(java.util.Map binding)
           
 void setAllowSettingContentType(boolean allowSettingContentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyPageTemplate

public GroovyPageTemplate(GroovyPageMetaInfo metaInfo)
Method Detail

make

public groovy.lang.Writable make()
Specified by:
make in interface groovy.text.Template

make

public groovy.lang.Writable make(java.util.Map binding)
Specified by:
make in interface groovy.text.Template

getMetaInfo

public GroovyPageMetaInfo getMetaInfo()

isAllowSettingContentType

public boolean isAllowSettingContentType()

setAllowSettingContentType

public void setAllowSettingContentType(boolean allowSettingContentType)