Class WebpackerCSSElementTagProcessor
- java.lang.Object
-
- org.thymeleaf.processor.AbstractProcessor
-
- org.thymeleaf.processor.element.AbstractElementTagProcessor
-
- ca.corefacility.bioinformatics.irida.ria.config.thymeleaf.webpacker.processor.WebpackerCSSElementTagProcessor
-
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor
,org.thymeleaf.processor.element.IElementTagProcessor
,org.thymeleaf.processor.IProcessor
public class WebpackerCSSElementTagProcessor extends org.thymeleaf.processor.element.AbstractElementTagProcessor
Thymeleaf Tag Processor for elements with the tag `webpack:css` This processor will: - determine which css files need to be loaded from the webpack manifest file. - create new link elements with the correct path to the files and add them to the template.
-
-
Constructor Summary
Constructors Constructor Description WebpackerCSSElementTagProcessor(java.lang.String dialectPrefix, WebpackerManifestParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
-
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
-
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
-
-
-
-
Constructor Detail
-
WebpackerCSSElementTagProcessor
public WebpackerCSSElementTagProcessor(java.lang.String dialectPrefix, WebpackerManifestParser parser)
-
-
Method Detail
-
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
- Specified by:
doProcess
in classorg.thymeleaf.processor.element.AbstractElementTagProcessor
-
-