| 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.runtime | |
| com.google.template.soy.jbcsrc.shared |
| 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. |
| 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 |
|---|---|
static SoyValue |
JbcSrcRuntime.applyPrintDirective(SoyJavaPrintDirective directive,
SoyValue value,
List<SoyValue> args)
Helper function to translate null -> NullData when calling SoyJavaPrintDirectives that may
expect it.
|
| Modifier and Type | Method and Description |
|---|---|
static CompiledTemplate |
JbcSrcRuntime.applyEscapers(CompiledTemplate delegate,
com.google.common.collect.ImmutableList<SoyJavaPrintDirective> directives)
Wraps a given template with a collection of escapers to apply.
|
| Modifier and Type | Method and Description |
|---|---|
SoyJavaPrintDirective |
RenderContext.getPrintDirective(String name) |
| Modifier and Type | Method and Description |
|---|---|
RenderContext.Builder |
RenderContext.Builder.withSoyPrintDirectives(Map<String,? extends SoyJavaPrintDirective> directives) |