play.templates
Class BaseTemplate

java.lang.Object
  extended by play.templates.Template
      extended by play.templates.BaseTemplate
Direct Known Subclasses:
GroovyTemplate

public abstract class BaseTemplate
extends Template

A template


Nested Class Summary
static class BaseTemplate.RawData
           
 
Field Summary
 java.lang.String compiledSource
           
 java.lang.Class compiledTemplate
           
 java.lang.String compiledTemplateName
           
static java.lang.ThreadLocal<BaseTemplate> currentTemplate
           
 java.util.Set<java.lang.Integer> doBodyLines
           
static java.lang.ThreadLocal<BaseTemplate> layout
           
static java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.Object>> layoutData
           
 java.util.Map<java.lang.Integer,java.lang.Integer> linesMatrix
           
 java.lang.Long timestamp
           
 
Fields inherited from class play.templates.Template
name, source
 
Constructor Summary
BaseTemplate(java.lang.String source)
           
BaseTemplate(java.lang.String name, java.lang.String source)
           
 
Method Summary
 boolean loadFromCache()
           
 void loadPrecompiled()
           
 
Methods inherited from class play.templates.Template
compile, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compiledSource

public java.lang.String compiledSource

linesMatrix

public java.util.Map<java.lang.Integer,java.lang.Integer> linesMatrix

doBodyLines

public java.util.Set<java.lang.Integer> doBodyLines

compiledTemplate

public java.lang.Class compiledTemplate

compiledTemplateName

public java.lang.String compiledTemplateName

timestamp

public java.lang.Long timestamp

layout

public static java.lang.ThreadLocal<BaseTemplate> layout

layoutData

public static java.lang.ThreadLocal<java.util.Map<java.lang.Object,java.lang.Object>> layoutData

currentTemplate

public static java.lang.ThreadLocal<BaseTemplate> currentTemplate
Constructor Detail

BaseTemplate

public BaseTemplate(java.lang.String name,
                    java.lang.String source)

BaseTemplate

public BaseTemplate(java.lang.String source)
Method Detail

loadPrecompiled

public void loadPrecompiled()

loadFromCache

public boolean loadFromCache()


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