play.templates
Class Template
java.lang.Object
play.templates.Template
public class Template
- extends Object
A template
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
source
public String source
groovySource
public String groovySource
linesMatrix
public Map<Integer,Integer> linesMatrix
doBodyLines
public Set<Integer> doBodyLines
compiledTemplate
public Class compiledTemplate
compiledTemplateName
public String compiledTemplateName
timestamp
public Long timestamp
layout
public static ThreadLocal<Template> layout
layoutData
public static ThreadLocal<Map> layoutData
currentTemplate
public static ThreadLocal<Template> currentTemplate
Template
public Template(String name,
String source)
loadPrecompiled
public void loadPrecompiled()
loadFromCache
public boolean loadFromCache()
compile
public void compile()
render
public String render(Map<String,Object> args)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly