Class HtmxAttributeProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor
io.github.wimdeblauwe.hsbt.thymeleaf.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 -
Constructor Summary
ConstructorsConstructorDescriptionHtmxAttributeProcessor(String dialectPrefix, String attrName, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddoProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, Object expressionResult, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) voidsetAttributeDefinitions(org.thymeleaf.engine.AttributeDefinitions attributeDefinitions) Methods inherited from class org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor
doProcessMethods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcessMethods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, processMethods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
ATTR_PRECEDENCE
public static final int ATTR_PRECEDENCE- See Also:
-
-
Constructor Details
-
HtmxAttributeProcessor
-
-
Method Details
-
setAttributeDefinitions
public void setAttributeDefinitions(org.thymeleaf.engine.AttributeDefinitions attributeDefinitions) - Specified by:
setAttributeDefinitionsin interfaceorg.thymeleaf.engine.IAttributeDefinitionsAware
-
doProcess
protected final void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, Object expressionResult, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) - Specified by:
doProcessin classorg.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor
-