jste.template
Class CachedTemplate

java.lang.Object
  extended by jste.template.Template
      extended by jste.template.CachedTemplate

public class CachedTemplate
extends Template

A cached template is a template that is stored in a cache. Only cached templates support the include function for including other templates. Included templates must be available from the repository containing the including template.


Constructor Summary
CachedTemplate(TemplateCache cache, java.lang.String content, java.lang.String templateName)
           
 
Method Summary
protected  DocumentWrapper getOutputWrapper(java.lang.Object dataObject, java.io.Writer output)
           
 
Methods inherited from class jste.template.Template
_doExpand, expand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedTemplate

public CachedTemplate(TemplateCache cache,
                      java.lang.String content,
                      java.lang.String templateName)
Method Detail

getOutputWrapper

protected DocumentWrapper getOutputWrapper(java.lang.Object dataObject,
                                           java.io.Writer output)
                                    throws java.lang.Exception
Overrides:
getOutputWrapper in class Template
Throws:
java.lang.Exception