/** * Transforms a template into an expanded output using the given model. * * @param model the model used to evaluate expressions inside the template * @return the expanded output */ public String transform(Map<String, Object> model) { return transform(model, engine.getModelAdaptor(), null); }
/** * Transforms a template into an expanded output using the given model. * * @param model the model used to evaluate expressions inside the template * @return the expanded output */ public String transform(Map<String, Object> model, ProcessListener processListener) { return transform(model, engine.getModelAdaptor(), processListener); }