Lines Matching defs:template

22 import com.google.clearsilver.jsilver.template.Template;
27 * Renders a template.
32 * Renders a given template and provided data, writing to an arbitrary output.
34 * @param templateName Name of template to load (e.g. "things/blah.cs").
35 * @param data Data to be used in template.
36 * @param output Where template should be rendered to. This can be a Writer, PrintStream,
52 * Same as {@link #render(String, Data, Appendable)}, except returns rendered template as a
58 * Renders a given template and provided data, writing to an arbitrary output.
60 * @param template Template to render.
61 * @param data Data to be used in template.
62 * @param output Where template should be rendered to. This can be a Writer, PrintStream,
68 void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader)
75 void render(Template template, Data data, Appendable output) throws IOException, JSilverException;
78 * Same as {@link #render(Template,Data,Appendable)}, except returns rendered template as a
81 String render(Template template, Data data) throws IOException, JSilverException;
84 * Renders a given template from the content passed in. That is, the first parameter is the actual
85 * template content rather than the filename to load.
87 * @param content Content of template (e.g. "Hello <cs var:name ?>").
88 * @param data Data to be used in template.
89 * @param output Where template should be rendered to. This can be a Writer, PrintStream,
97 * Same as {@link #renderFromContent(String, Data, Appendable)}, except returns rendered template