| Package | Description |
|---|---|
| com.google.template.soy.basicdirectives |
Plugin package for basic print directives.
|
| com.google.template.soy.coredirectives |
Plugin package for core print directives.
|
| com.google.template.soy.jbcsrc.api | |
| com.google.template.soy.jssrc.restricted | |
| com.google.template.soy.pysrc.restricted | |
| com.google.template.soy.shared.internal | |
| com.google.template.soy.shared.restricted | |
| com.google.template.soy.tofu.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicEscapeDirective
An escaping directive that is backed by
Sanitizers in java, soyutils.js or
the closure equivalent in JavaScript, and sanitize.py in Python. |
class |
InsertWordBreaksDirective
A directive that inserts word breaks as necessary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EscapeHtmlDirective
A directive that HTML-escapes the output.
|
class |
IdDirective
A directive that marks an identifier such as an HTML id or CSS class name.
|
class |
NoAutoescapeDirective
A directive that turns off autoescape for this 'print' tag (if it's on for the template).
|
| Modifier and Type | Method and Description |
|---|---|
SoySauceImpl |
SoySauceImpl.Factory.create(CompiledTemplates templates,
com.google.common.collect.ImmutableMap<String,? extends SoyFunction> soyFunctionMap,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJsSrcPrintDirective
Interface for a Soy print directive implemented for the JS Source backend.
|
interface |
SoyLibraryAssistedJsSrcPrintDirective
Interface for a Soy print directive with more Closure Library requirements than typical Soy
templates, implemented for the JS Source backend.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyPySrcPrintDirective
Interface for a Soy print directive implemented for the Python Source backend.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyPrintDirective> |
FunctionAdapters.buildSpecificSoyDirectivesMap(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType)
Given the set of all Soy directive implementations and a specific Soy directive type (subtype
of SoyPrintDirective) to look for, finds the Soy directives that implement the specific type
and returns them in the form of a map from directive name to directive.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyPrintDirective> |
FunctionAdapters.buildSpecificSoyDirectivesMap(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType)
Given the set of all Soy directive implementations and a specific Soy directive type (subtype
of SoyPrintDirective) to look for, finds the Soy directives that implement the specific type
and returns them in the form of a map from directive name to directive.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJavaPrintDirective
Interface for a Soy print directive implemented for Java runtime rendering.
|
| Modifier and Type | Method and Description |
|---|---|
BaseTofu |
BaseTofu.BaseTofuFactory.create(TemplateRegistry templates,
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableSortedSet<String>> templateToIjParamsInfoMap,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives) |
| Constructor and Description |
|---|
BaseTofu(SoyValueHelper valueHelper,
GuiceSimpleScope apiCallScope,
com.google.template.soy.tofu.internal.TofuRenderVisitorFactory tofuRenderVisitorFactory,
TemplateRegistry templates,
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableSortedSet<String>> templateToIjParamsInfoMap,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives) |