org.melati.template.webmacro
Class WebmacroTemplate

Package class diagram package WebmacroTemplate
java.lang.Object
  extended by org.melati.template.webmacro.WebmacroTemplate
All Implemented Interfaces:
Template

public class WebmacroTemplate
extends Object
implements Template

A Template for use with Melati.


Constructor Summary
WebmacroTemplate(org.webmacro.Template t)
          Constructor.
 
Method Summary
 void write(MelatiWriter out, TemplateContext templateContext, TemplateEngine engine)
          Write to the given output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebmacroTemplate

public WebmacroTemplate(org.webmacro.Template t)
Constructor.

Parameters:
t - webmacro template
Method Detail

write

public void write(MelatiWriter out,
                  TemplateContext templateContext,
                  TemplateEngine engine)
Write to the given output.

Specified by:
write in interface Template
Parameters:
out - a MelatiWebmacroWriter.
templateContext - the Context to interpolate the Template with regard to
engine - the engine to interpolate the template with
Throws:
IOException - If WebMacro does


Copyright © 2000-2010 PanEris. All Rights Reserved.