public class TemplateContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TemplateContext |
parent |
ParseSettings |
parseSettings |
ProtectionSettings |
protectionSettings |
RenderSettings |
renderSettings |
| Constructor and Description |
|---|
TemplateContext() |
TemplateContext(ProtectionSettings protectionSettings,
RenderSettings renderSettings,
Flavor flavor,
Map<String,Object> variables)
Deprecated.
|
TemplateContext(ProtectionSettings protectionSettings,
RenderSettings renderSettings,
ParseSettings parseSettings,
Map<String,Object> variables) |
TemplateContext(TemplateContext parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key) |
Object |
get(String key) |
Map<String,Object> |
getVariables() |
void |
incrementIterations() |
Object |
put(String key,
Object value) |
Object |
put(String key,
Object value,
boolean putInRootContext) |
Object |
remove(String key) |
protected TemplateContext parent
public final ProtectionSettings protectionSettings
public final RenderSettings renderSettings
public final ParseSettings parseSettings
public TemplateContext()
@Deprecated public TemplateContext(ProtectionSettings protectionSettings, RenderSettings renderSettings, Flavor flavor, Map<String,Object> variables)
public TemplateContext(ProtectionSettings protectionSettings, RenderSettings renderSettings, ParseSettings parseSettings, Map<String,Object> variables)
public TemplateContext(TemplateContext parent)
public void incrementIterations()
public boolean containsKey(String key)
Copyright © 2012–2019. All rights reserved.