Class ThymeleafEngine.TreeContext
java.lang.Object
services.moleculer.web.template.ThymeleafEngine.TreeContext
- All Implemented Interfaces:
org.thymeleaf.context.IContext
- Enclosing class:
ThymeleafEngine
public static class ThymeleafEngine.TreeContext
extends Object
implements org.thymeleaf.context.IContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectVariables(io.datatree.Tree root) booleancontainsVariable(String name) getVariable(String name)
-
Field Details
-
localeCache
-
data
protected final io.datatree.Tree data -
variables
-
locale
-
-
Constructor Details
-
TreeContext
public TreeContext(io.datatree.Tree data)
-
-
Method Details
-
getLocale
- Specified by:
getLocalein interfaceorg.thymeleaf.context.IContext
-
containsVariable
- Specified by:
containsVariablein interfaceorg.thymeleaf.context.IContext
-
getVariableNames
-
getVariable
-
collectVariables
protected void collectVariables(io.datatree.Tree root)
-