| 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.setActiveDelegatePackageSelector(com.google.common.base.Predicate<String> activeDelegatePackageSelector)
Sets the predicate to use for testing whether or not a given
delpackage is active. |
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.setDebugSoyTemplateInfo(boolean debugSoyTemplateInfo)
Configures if we should render additional HTML comments for runtime inspection.
|
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) |