All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nz.net.ultraq.web.thymeleaf.AbstractProcessor Maven / Gradle / Ivy

Go to download

A dialect for Thymeleaf that allows you to use layout/decorator templates to style your content.

There is a newer version: 1.0.6
Show newest version

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