public class GroovyPagesTemplateRenderer
Service that provides the actual implementation to RenderTagLib's render tag. This is an internal Grails service and should not be used by plugins directly. The implementation was moved from RenderTagLib, ported to Java and then refactored.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterPropertiesSet() |
|
public CacheEntry<groovy.text.Template> |
call() |
|
public void |
clearCache() |
|
protected boolean |
hasExpired(long timeout, java.lang.Object cacheRequestObject) |
|
public boolean |
isCacheEnabled() |
|
public boolean |
isInitialized() |
|
public void |
render(GrailsWebRequest webRequest, TemplateVariableBinding pageScope, java.util.Map<java.lang.String, java.lang.Object> attrs, java.lang.Object body, java.io.Writer out) |
|
public void |
setCacheEnabled(boolean cacheEnabled) |
|
public void |
setControllerToScaffoldedDomainClassMap(java.util.Map map) |
|
public void |
setGroovyPageLocator(GrailsConventionGroovyPageLocator locator) |
|
public void |
setGroovyPagesTemplateEngine(GroovyPagesTemplateEngine engine) |
|
public void |
setReloadEnabled(boolean reloadEnabled) Sets whether reloading is enabled |
|
public void |
setScaffoldedActionMap(java.util.Map map) |
|
public void |
setScaffoldingTemplateGenerator(java.lang.Object generator) |
|
public void |
setValue(groovy.text.Template val) |
|
protected groovy.text.Template |
updateValue(groovy.text.Template oldValue, java.util.concurrent.Callable<groovy.text.Template> updater, java.lang.Object cacheRequestObject) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Sets whether reloading is enabled
reloadEnabled
- True if it is enabled