|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateLoader
Loads a Template.
Method Summary | |
---|---|
Template |
createTemp(String name,
String content,
EscapeMode escapeMode)
Create a temporary template from content, with the provided escape mode. |
Template |
load(String templateName,
ResourceLoader resourceLoader,
EscapeMode escapeMode)
Load a template from a named resource, with the provided escape mode. |
Method Detail |
---|
Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode)
templateName
- e.g. some/path/to/template.csresourceLoader
- the ResourceLoader object to use to load any files needed to satisfy this
request.escapeMode
- the type of escaping to apply to the entire template.Template createTemp(String name, String content, EscapeMode escapeMode)
name
- A name to identify the temporary template in stack traces.content
- e.g. "Hello <cs var:name >"escapeMode
- the type of escaping to apply to the entire template.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |