示例#1
0
 /**
  * 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);
 }
示例#2
0
 /**
  * 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);
 }