org.peaseplate.internal.template
Class AbstractTemplate

java.lang.Object
  extended by org.peaseplate.internal.template.AbstractTemplate
All Implemented Interfaces:
Template
Direct Known Subclasses:
ChunkBasedTemplate

public abstract class AbstractTemplate
extends java.lang.Object
implements Template


Constructor Summary
AbstractTemplate(TemplateEngine engine, TemplateLocator locator)
           
 
Method Summary
 TemplateEngine getEngine()
          Returns the template engine that was used to create this template.
 TemplateLocator getLocator()
          Returns the template locator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.peaseplate.Template
getImportedResourceKeys, getMacroReference, getMessages, render, render, render, render
 

Constructor Detail

AbstractTemplate

public AbstractTemplate(TemplateEngine engine,
                        TemplateLocator locator)
Method Detail

getEngine

public TemplateEngine getEngine()
Description copied from interface: Template
Returns the template engine that was used to create this template.

Specified by:
getEngine in interface Template
Returns:
the template engine
See Also:
Template.getEngine()

getLocator

public TemplateLocator getLocator()
Description copied from interface: Template
Returns the template locator

Specified by:
getLocator in interface Template
Returns:
the template locator
See Also:
Template.getLocator()


Copyright © 2008. All Rights Reserved.