| Package | Description |
|---|---|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Field and Description |
|---|---|
AutoescapeMode |
TemplateNode.SoyFileHeaderInfo.defaultAutoescapeMode |
| Modifier and Type | Method and Description |
|---|---|
static AutoescapeMode |
AutoescapeMode.forAttributeValue(String attributeValue)
The value such that attributeValue.equals(value.getAttributeValue()).
|
protected AutoescapeMode |
TemplateNodeBuilder.getAutoescapeMode() |
AutoescapeMode |
TemplateNode.getAutoescapeMode()
Returns the mode of autoescaping, if any, done for this template.
|
AutoescapeMode |
SoyFileNode.getDefaultAutoescapeMode()
Returns the default autoescaping mode for contained templates.
|
static AutoescapeMode |
AutoescapeMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoescapeMode[] |
AutoescapeMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TemplateNodeBuilder.setAutoescapeInfo(AutoescapeMode autoescapeMode,
SanitizedContent.ContentKind contentKind) |
TemplateBasicNodeBuilder |
TemplateBasicNodeBuilder.setCmdTextInfo(String templateName,
String partialTemplateName,
boolean useAttrStyleForName,
Visibility visibility,
AutoescapeMode autoescapeMode,
SanitizedContent.ContentKind contentKind,
com.google.common.collect.ImmutableList<String> requiredCssNamespaces)
Alternative to
setCmdText() that sets command text info directly as opposed to having
it parsed from the command text string. |
TemplateDelegateNodeBuilder |
TemplateDelegateNodeBuilder.setCmdTextInfo(String delTemplateName,
String delTemplateVariant,
int delPriority,
AutoescapeMode autoescapeMode,
SanitizedContent.ContentKind contentKind,
com.google.common.collect.ImmutableList<String> requiredCssNamespaces)
Alternative to
setCmdText() that sets command text info directly as opposed to having
it parsed from the command text string. |
| Constructor and Description |
|---|
SoyFileHeaderInfo(String delPackageName,
String namespace,
AutoescapeMode defaultAutoescapeMode) |