org.melati.template
Interface Template

Package class diagram package Template
All Known Implementing Classes:
VelocityTemplate, WebmacroTemplate

public interface Template

A template engine template. So far the Velocity, WebMacro and JTemplater engines have been fitted to it.


Method Summary
 void write(MelatiWriter out, TemplateContext templateContext, TemplateEngine engine)
          Write the interpolated Template to a Writer.
 

Method Detail

write

void write(MelatiWriter out,
           TemplateContext templateContext,
           TemplateEngine engine)
           throws TemplateEngineException
Write the interpolated Template to a Writer.

Parameters:
out - the MelatiWroter to write to
templateContext - the Context to interpolate the Template with regard to
engine - the engine to interpolate the template with
Throws:
TemplateEngineException - if thrown by TemplateEngine


Copyright © 2000-2010 PanEris. All Rights Reserved.