MCPcopy Create free account
hub / github.com/apache/freemarker / process

Method process

src/main/java/freemarker/template/Template.java:254–258  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 7

testMethod · 0.95
transformMethod · 0.95
processMethod · 0.95
doGetMethod · 0.95
doGetMethod · 0.95
runTestMethod · 0.45

Calls 3

setCurrentVisitorNodeMethod · 0.95
processMethod · 0.95

Tested by 3

testMethod · 0.76
runTestMethod · 0.36