Search in sources :

Example 1 with PreProcessor

use of org.thymeleaf.preprocessor.PreProcessor in project thymeleaf-tests by thymeleaf.

the class Dialect01 method getPreProcessors.

@Override
public Set<IPreProcessor> getPreProcessors() {
    final Set<IPreProcessor> preProcessors = new HashSet<IPreProcessor>();
    preProcessors.add(new PreProcessor(TemplateMode.HTML, Dialect01PreProcessor.class, 1000));
    preProcessors.add(new PreProcessor(TemplateMode.XML, Dialect01PreProcessor.class, 1000));
    preProcessors.add(new PreProcessor(TemplateMode.TEXT, Dialect01PreProcessor.class, 1000));
    preProcessors.add(new PreProcessor(TemplateMode.JAVASCRIPT, Dialect01PreProcessor.class, 1000));
    preProcessors.add(new PreProcessor(TemplateMode.CSS, Dialect01PreProcessor.class, 1000));
    return preProcessors;
}
Also used : IPreProcessor(org.thymeleaf.preprocessor.IPreProcessor) PreProcessor(org.thymeleaf.preprocessor.PreProcessor) IPreProcessor(org.thymeleaf.preprocessor.IPreProcessor) HashSet(java.util.HashSet)

Aggregations

HashSet (java.util.HashSet)1 IPreProcessor (org.thymeleaf.preprocessor.IPreProcessor)1 PreProcessor (org.thymeleaf.preprocessor.PreProcessor)1