| Modifier and Type | Method and Description |
|---|---|
PebbleTemplate |
PebbleEngine.getTemplate(String templateName)
Loads, parses, and compiles a template into an instance of PebbleTemplate
and returns this instance.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.cache.Cache<Object,PebbleTemplate> |
PebbleEngine.getTemplateCache()
Returns the template cache
|
| Modifier and Type | Method and Description |
|---|---|
PebbleEngine.Builder |
PebbleEngine.Builder.templateCache(com.google.common.cache.Cache<Object,PebbleTemplate> templateCache)
Sets the cache used by the engine to store compiled PebbleTemplate instances.
|
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
NodeVisitorFactory.createVisitor(PebbleTemplate template)
This method creates a new instance of a
NodeVisitor. |
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
MacroAndBlockRegistrantNodeVisitorFactory.createVisitor(PebbleTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
PrettyPrintNodeVisitorFactory.createVisitor(PebbleTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
EscaperNodeVisitorFactory.createVisitor(PebbleTemplate template) |
| Modifier and Type | Class and Description |
|---|---|
class |
PebbleTemplateImpl
The actual implementation of a PebbleTemplate
|
Copyright © 2018. All rights reserved.