@ParametersAreNonnullByDefault
print commands.See: Description
| Class | Description |
|---|---|
| ContentSecurityPolicyPass |
Inserts attributes into templates to bless inline
<script> and <style> elements
and inline event handler and style attributes so that the browser can distinguish scripts
specified by the template author from ones injected via XSS. |
| Context |
Encapsulates the context in which a Soy node appears.
|
| ContextualAutoescaper |
Inserts directives into print commands by looking at the context in which a print appears, and
derives templates and rewrites calls so that each template is entered only in contexts
consistent with its escaping conventions.
|
| DerivedTemplateUtils |
Utilities for dealing with the names of derived templates.
|
| SlicedRawTextNode |
A raw text node divided into a slice for each context found by the inference engine so that later
parse passes can take action based on text and attribute boundaries.
|
| SlicedRawTextNode.RawTextSlice |
A substring of raw text that is exposed to parse passes.
|
| Enum | Description |
|---|---|
| Context.AttributeEndDelimiter |
Describes the content that will end the current HTML attribute.
|
| Context.AttributeType |
Describes the content of an HTML attribute.
|
| Context.ElementType |
A type of HTML element.
|
| Context.JsFollowingSlash |
Describes what a slash (
/) means when parsing JavaScript source code. |
| Context.UriPart |
Describes the part of a URI reference that the context point is in.
|
| Context.UriType |
Describes the type or context of a URI that is currently being or about to be parsed.
|
| Exception | Description |
|---|---|
| SoyAutoescapeException |
Indicates failure to propagate contexts through a template or an existing escaping directive on a
'print' tag that is inconsistent with the contexts in which it appears.
|
print commands.
The main entry point for this package is
ContextualAutoescaper.