Class HtmxAttributeProcessor

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

    public class HtmxAttributeProcessor
    extends org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor
    implements org.thymeleaf.engine.IAttributeDefinitionsAware
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ATTR_PRECEDENCE  
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmxAttributeProcessor​(java.lang.String dialectPrefix, java.lang.String attrName)  
    • 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, java.lang.Object expressionResult, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)  
      void setAttributeDefinitions​(org.thymeleaf.engine.AttributeDefinitions attributeDefinitions)  
      • Methods inherited from class org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor

        doProcess
      • 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

      • HtmxAttributeProcessor

        public HtmxAttributeProcessor​(java.lang.String dialectPrefix,
                                      java.lang.String attrName)
    • Method Detail

      • setAttributeDefinitions

        public void setAttributeDefinitions​(org.thymeleaf.engine.AttributeDefinitions attributeDefinitions)
        Specified by:
        setAttributeDefinitions in interface org.thymeleaf.engine.IAttributeDefinitionsAware
      • doProcess

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