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;
}
Aggregations