Modifier and Type | Method and Description |
---|---|
TemplateLoader |
JSilver.getTemplateLoader()
Returns the TemplateLoader used by this JSilver template renderer.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateCompiler
Takes a template AST and compiles it into a Java class, which executes much faster than the
intepreter.
|
Modifier and Type | Method and Description |
---|---|
protected TemplateLoader |
BaseCompiledTemplate.getTemplateLoader() |
protected TemplateLoader |
BaseCompiledTemplate.CompiledMacro.getTemplateLoader() |
Modifier and Type | Method and Description |
---|---|
void |
BaseCompiledTemplate.setTemplateLoader(TemplateLoader templateLoader) |
void |
TemplateCompiler.setTemplateLoaderDelegate(TemplateLoader templateLoaderDelegate) |
Modifier and Type | Class and Description |
---|---|
class |
InterpretedTemplateLoader
TemplateLoader that loads InterpretedTemplates.
|
Modifier and Type | Method and Description |
---|---|
void |
InterpretedTemplateLoader.setTemplateLoaderDelegate(TemplateLoader templateLoaderDelegate) |
Constructor and Description |
---|
InterpretedTemplate(TemplateLoader loader,
TemplateSyntaxTree syntaxTree,
String name,
FunctionExecutor functionExecutor,
AutoEscapeOptions autoEscapeOptions,
EscapeMode mode) |
TemplateInterpreter(Template template,
TemplateLoader templateLoader,
RenderingContext context,
FunctionExecutor functionExecutor) |
Modifier and Type | Class and Description |
---|---|
class |
PrecompiledTemplateLoader
TemplateLoader that stores objects from precompiled Template classes and serves them when asked
for them.
|
Modifier and Type | Method and Description |
---|---|
void |
PrecompiledTemplateLoader.setTemplateLoaderDelegate(TemplateLoader templateLoaderDelegate) |
Constructor and Description |
---|
PrecompiledTemplateLoader(TemplateLoader nextLoader,
Map<Object,String> templateToClassNameMap,
FunctionExecutor globalFunctionExecutor,
AutoEscapeOptions autoEscapeOptions) |
Modifier and Type | Interface and Description |
---|---|
interface |
DelegatingTemplateLoader
Interface that extends TemplateLoader with a method to set the TemplateLoader that Templates
provided by this TemplateLoader should use to resolve includes and such.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegatingTemplateLoader.setTemplateLoaderDelegate(TemplateLoader templateLoaderDelegate)
TemplateLoader that Templates will delegate back to for includes etc.
|
Copyright © 2010–2018 Google. All rights reserved.