net.lessy.util.template
Interface TemplateManager
- All Known Implementing Classes:
- VelocityTemplateManager
public interface TemplateManager
- Author:
- Hans Lesmeister
process
void process(String templateName,
String encoding,
TemplateContext context,
Writer output)
- Processes a template and writes the result to the Writer
- Parameters:
templateName - Name of the Template.encoding - Encodingcontext - that contains all data needed to process the Templateoutput - Output to receive the result of the Template-Processing
createContext
TemplateContext createContext()
- Create a Context that suits the Manager-Implementation.
- Returns:
- Instance of a context
Copyright © 2012. All Rights Reserved.