Class TemplateManagerImpl
java.lang.Object
io.mosip.kernel.templatemanager.velocity.impl.TemplateManagerImpl
- All Implemented Interfaces:
TemplateManager
Implementation of
TemplateManager which uses Velocity Template
Engine, TemplateManagerImpl will merge the template with values.- Since:
- 01-10-2018
- Version:
- 1.0.0
- Author:
- Abhishek Kumar
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemplateManagerImpl
public TemplateManagerImpl(org.apache.velocity.app.VelocityEngine engine)
-
-
Method Details
-
merge
- Specified by:
mergein interfaceTemplateManager- Throws:
IOException
-
merge
public boolean merge(String templateName, Writer writer, Map<String, Object> values) throws IOException- Specified by:
mergein interfaceTemplateManager- Throws:
IOException
-
merge
public boolean merge(String templateName, Writer writer, Map<String, Object> values, String encodingType) throws IOException- Specified by:
mergein interfaceTemplateManager- Throws:
IOException
-