Class TemplateContext

  • All Implemented Interfaces:
    org.thymeleaf.context.IContext

    public class TemplateContext
    extends Object
    implements org.thymeleaf.context.IContext
    Author:
    pthomas3
    • Constructor Detail

      • TemplateContext

        public TemplateContext​(Locale locale)
    • Method Detail

      • getLocale

        public Locale getLocale()
        Specified by:
        getLocale in interface org.thymeleaf.context.IContext
      • containsVariable

        public boolean containsVariable​(String name)
        Specified by:
        containsVariable in interface org.thymeleaf.context.IContext
      • getVariableNames

        public Set<String> getVariableNames()
        Specified by:
        getVariableNames in interface org.thymeleaf.context.IContext
      • getVariable

        public Object getVariable​(String name)
        Specified by:
        getVariable in interface org.thymeleaf.context.IContext