Processes the template, using data from the map, and outputs the resulting text to the supplied Writer The elements of the map are converted to template models using the default object wrapper returned by the Configuration#getObjectWrapper() getObjectWrapper() method of the Conf
(Object rootMap, Writer out)
| 252 | * @throws IOException if an I/O exception occurs during writing to the writer. |
| 253 | */ |
| 254 | public void process(Object rootMap, Writer out) |
| 255 | throws TemplateException, IOException |
| 256 | { |
| 257 | createProcessingEnvironment(rootMap, out, null).process(); |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * Processes the template, using data from the root map object, and outputs |