| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.api |
| Modifier and Type | Method and Description |
|---|---|
SoySauce.Renderer |
SoySauce.renderTemplate(String template)
Returns a new
SoySauce.Renderer for configuring and rendering the given template. |
SoySauce.Renderer |
SoySauce.Renderer.setActiveDelegatePackageSelector(com.google.common.base.Predicate<String> active)
Sets the predicate to use for testing whether or not a given
delpackage is active. |
SoySauce.Renderer |
SoySauce.Renderer.setCssRenamingMap(SoyCssRenamingMap cssRenamingMap)
Configures the
{css ..} renaming map. |
SoySauce.Renderer |
SoySauce.Renderer.setData(Map<String,?> record)
Configures the data to pass to template.
|
SoySauce.Renderer |
SoySauce.Renderer.setExpectedContentKind(SanitizedContent.ContentKind kind)
Sets the expected content kind.
|
SoySauce.Renderer |
SoySauce.Renderer.setIj(Map<String,?> record)
Configures the
$ij to pass to the template. |
SoySauce.Renderer |
SoySauce.Renderer.setMsgBundle(SoyMsgBundle msgs)
Configures the bundle of translated messages to use.
|
SoySauce.Renderer |
SoySauce.Renderer.setXidRenamingMap(SoyIdRenamingMap xidRenamingMap)
Configures the
{xid ..} renaming map. |