// FIXME: the casting from Appendable to Writer is a temporary fix that could cause a
// run time error if in the future we will pass a different class to the method
// (such as a StringBuffer).
Environment env = template.createProcessingEnvironment(context, (Writer)outWriter);
applyUserSettings(env, context);
env.process();
}
public static void addAllOfbizTransforms(Map<String, Object> context) {
BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
TemplateHashModel staticModels = wrapper.getStaticModels();