Home | History | Annotate | Download | only in template

Lines Matching defs:template

17 package com.google.clearsilver.jsilver.template;
23 * Loads a Template.
28 * Load a template from a named resource, with the provided escape mode. If the mode is
30 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a>
31 * on templates. For each variable in the template, this will determine what type of escaping
34 * @param templateName e.g. some/path/to/template.cs
37 * @param escapeMode the type of escaping to apply to the entire template.
39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode);
42 * Create a temporary template from content, with the provided escape mode. If the mode is
44 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a>
45 * on templates. For each variable in the template, this will determine what type of escaping
48 * @param name A name to identify the temporary template in stack traces.
50 * @param escapeMode the type of escaping to apply to the entire template.
52 Template createTemp(String name, String content, EscapeMode escapeMode);