nz.net.ultraq.web.thymeleaf.AbstractProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thymeleaf-layout-dialect Show documentation
Show all versions of thymeleaf-layout-dialect Show documentation
A dialect for Thymeleaf that allows you to use layout/decorator templates to style your content.
package nz.net.ultraq.web.thymeleaf;
import org.thymeleaf.processor.attr.AbstractAttrProcessor;
/**
* Common code for the layout processors.
*
* @author Emanuel Rabina
*/
public abstract class AbstractProcessor extends AbstractAttrProcessor {
protected static final String CONTEXT_VAR_FRAGMENTS = "fragments";
/**
* Subclass constructor, set the attribute name that this processor will
* respond to.
*
* @param attribute
*/
protected AbstractProcessor(String attribute) {
super(attribute);
}
/**
* {@inheritDoc}
*/
@Override
public final int getPrecedence() {
return 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy