public static class ThymeleafEngine.TreeContext
extends java.lang.Object
implements org.thymeleaf.context.IContext
| Modifier and Type | Field and Description |
|---|---|
protected io.datatree.Tree |
data |
protected java.util.Locale |
locale |
protected static java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.Locale> |
localeCache |
protected java.util.HashMap<java.lang.String,java.lang.Object> |
variables |
| Constructor and Description |
|---|
TreeContext(io.datatree.Tree data) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectVariables(io.datatree.Tree root) |
boolean |
containsVariable(java.lang.String name) |
java.util.Locale |
getLocale() |
java.lang.Object |
getVariable(java.lang.String name) |
java.util.Set<java.lang.String> |
getVariableNames() |
protected static final java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.Locale> localeCache
protected final io.datatree.Tree data
protected final java.util.HashMap<java.lang.String,java.lang.Object> variables
protected java.util.Locale locale
public java.util.Locale getLocale()
getLocale in interface org.thymeleaf.context.IContextpublic boolean containsVariable(java.lang.String name)
containsVariable in interface org.thymeleaf.context.IContextpublic java.util.Set<java.lang.String> getVariableNames()
getVariableNames in interface org.thymeleaf.context.IContextpublic java.lang.Object getVariable(java.lang.String name)
getVariable in interface org.thymeleaf.context.IContextprotected void collectVariables(io.datatree.Tree root)