Class TogglzDialect

java.lang.Object
org.thymeleaf.dialect.AbstractDialect
org.thymeleaf.dialect.AbstractProcessorDialect
org.togglz.spring.boot.actuate.thymeleaf.TogglzDialect
All Implemented Interfaces:
org.thymeleaf.dialect.IDialect, org.thymeleaf.dialect.IProcessorDialect

public class TogglzDialect extends org.thymeleaf.dialect.AbstractProcessorDialect
Dialect for Thymeleaf that allows to show/hide DOM containers based on features state. In Order to use it, add an instance of the dialect to your via TemplateEngine. The dialect uses the default prefix togglz.
Since:
1.0.0
Author:
Hendrik Heneke
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TogglzDialect(String name, String prefix, int processorPrecedence)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.thymeleaf.processor.IProcessor>
    getProcessors(String dialectPrefix)
     

    Methods inherited from class org.thymeleaf.dialect.AbstractProcessorDialect

    getDialectProcessorPrecedence, getPrefix

    Methods inherited from class org.thymeleaf.dialect.AbstractDialect

    getName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.thymeleaf.dialect.IDialect

    getName
  • Constructor Details

    • TogglzDialect

      public TogglzDialect()
    • TogglzDialect

      public TogglzDialect(String name, String prefix, int processorPrecedence)
  • Method Details

    • getProcessors

      public Set<org.thymeleaf.processor.IProcessor> getProcessors(String dialectPrefix)