Class FreemarkerOutputProcessor
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.output.freemarker.FreemarkerOutputProcessor
- All Implemented Interfaces:
OutputProcessor
- Direct Known Subclasses:
PdfOutputProcessor
This output processor renders the freemarker template main.ftl with the
given model and writes the processed content onto the response.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFreemarkerOutputProcessor
(FreemarkerTemplateProcessor freemarkerTemplateProcessor, org.slf4j.Logger logger) -
Method Summary
-
Field Details
-
MAIN_TEMPLATE_NAME
- See Also:
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
FreemarkerOutputProcessor
public FreemarkerOutputProcessor(FreemarkerTemplateProcessor freemarkerTemplateProcessor, org.slf4j.Logger logger)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceOutputProcessor
-
process
- Specified by:
process
in interfaceOutputProcessor
- Throws:
IOException
-