freemarker.template
Interface TemplateTransformModel
- All Superinterfaces:
- TemplateModel
- All Known Implementing Classes:
- CompressWhitespace, XmlEscape, FreeMarkerToHtml, HtmlEscape, NormalizeNewlines, LegacyCompress, JavaToHtml
- public interface TemplateTransformModel
- extends TemplateModel
Transformations in a template data model must implement this interface.
- Version:
- $Id: TemplateTransformModel.java,v 1.5 2002/04/17 11:03:41 revusky Exp $
Method Summary |
void |
transform(java.io.Reader source,
java.io.Writer output)
Performs a transformation/filter on FreeMarker output. |
transform
public void transform(java.io.Reader source,
java.io.Writer output)
throws TemplateModelException,
java.io.IOException
- Performs a transformation/filter on FreeMarker output.
- Parameters:
source
- the input to be transformedoutput
- the destination of the transformation