org.melati.template
Interface 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.
write
void write(MelatiWriter out,
TemplateContext templateContext,
TemplateEngine engine)
throws TemplateEngineException
- Write the interpolated Template to a Writer.
- Parameters:
out
- the MelatiWroter to write totemplateContext
- the Context to interpolate the Template with regard toengine
- the engine to interpolate the template with
- Throws:
TemplateEngineException
- if thrown by TemplateEngine
Copyright © 2000-2010 PanEris. All Rights Reserved.