Class WebpackerScriptAttributeTagProcessor

  • All Implemented Interfaces:
    org.thymeleaf.processor.element.IElementProcessor, org.thymeleaf.processor.element.IElementTagProcessor, org.thymeleaf.processor.IProcessor

    public class WebpackerScriptAttributeTagProcessor
    extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
    Thymeleaf Tag Processor for elements with the attr `webpack:script="entry_name"` This is a special case handler for when the link to an entry is within an attribute on an element. This only exists on the project samples page to handling opening modals directly.
    • 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.engine.AttributeName attributeName, java.lang.String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)  
      • Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor

        doProcess
      • Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor

        getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
      • Methods inherited from class org.thymeleaf.processor.AbstractProcessor

        getPrecedence, getTemplateMode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.thymeleaf.processor.IProcessor

        getPrecedence, getTemplateMode
    • Constructor Detail

      • WebpackerScriptAttributeTagProcessor

        public WebpackerScriptAttributeTagProcessor​(java.lang.String dialectPrefix,
                                                    WebpackerManifestParser parser)
    • Method Detail

      • doProcess

        protected void doProcess​(org.thymeleaf.context.ITemplateContext context,
                                 org.thymeleaf.model.IProcessableElementTag tag,
                                 org.thymeleaf.engine.AttributeName attributeName,
                                 java.lang.String attributeValue,
                                 org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
        Specified by:
        doProcess in class org.thymeleaf.processor.element.AbstractAttributeTagProcessor