| Package | Description |
|---|---|
| com.google.template.soy.tofu |
Java Object backend (a.k.a. Tofu).
|
| com.google.template.soy.tofu.internal |
| Modifier and Type | Method and Description |
|---|---|
SoyTofu.Renderer |
SoyTofu.newRenderer(SoyTemplateInfo templateInfo)
Gets a new Renderer for a template.
|
SoyTofu.Renderer |
SoyTofu.newRenderer(String templateName)
Gets a new Renderer for a template.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setActiveDelegatePackageNames(Set<String> activeDelegatePackageNames)
Sets the set of active delegate package names.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setContentKind(SanitizedContent.ContentKind contentKind)
Sets the expected content kind.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setCssRenamingMap(SoyCssRenamingMap cssRenamingMap)
Sets the CSS renaming map.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setData(Map<String,?> data)
Sets the data to call the template with.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setData(SoyRecord data)
Sets the data to call the template with.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setDontAddToCache(boolean dontAddToCache)
If set to true, indicates that we should not add the current combination of
SoyMsgBundle and SoyCssRenamingMap to the cache if it's not already there. |
SoyTofu.Renderer |
SoyTofu.Renderer.setIdRenamingMap(SoyIdRenamingMap idRenamingMap)
Sets the ID renaming map.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setIjData(Map<String,?> ijData)
Sets the injected data to call the template with.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setIjData(SoyRecord ijData)
Sets the injected data to call the template with.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setMsgBundle(SoyMsgBundle msgBundle)
Sets the bundle of translated messages, or null to use the messages from the Soy source.
|
| Modifier and Type | Method and Description |
|---|---|
SoyTofu.Renderer |
BaseTofu.newRenderer(SoyTemplateInfo templateInfo) |
SoyTofu.Renderer |
BaseTofu.newRenderer(String templateName) |