Class TemplateManagerUtil
- java.lang.Object
-
- io.mosip.kernel.templatemanager.velocity.util.TemplateManagerUtil
-
public class TemplateManagerUtil extends Object
TemplateManagerUtil contain Utility methods- Since:
- 01-10-2018
- Version:
- 1.0.0
- Author:
- Abhishek Kumar
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.velocity.VelocityContextbindInputToContext(Map<String,Object> input)Method to bind the map of values into VelocityContext
-
-
-
Method Detail
-
bindInputToContext
public static org.apache.velocity.VelocityContext bindInputToContext(Map<String,Object> input)
Method to bind the map of values into VelocityContext- Parameters:
input- as Map<String,Object> where key will be placeholder name and Object is the actual value for the placeholder- Returns:
- VelocityContext
-
-