Package org.thymeleaf.standard.processor
Class StandardDefaultAttributesTagProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor
- All Implemented Interfaces:
IElementProcessor,IElementTagProcessor,IProcessor
public final class StandardDefaultAttributesTagProcessor
extends AbstractProcessor
implements IElementTagProcessor
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStandardDefaultAttributesTagProcessor(TemplateMode templateMode, String dialectPrefix) -
Method Summary
Modifier and TypeMethodDescriptionfinal MatchingAttributeNameReturns the attribute name that would make this processor match (if any).final MatchingElementNameReturns the element name that would make this processor match (if any).voidprocess(ITemplateContext context, IProcessableElementTag tag, IElementTagStructureHandler structureHandler) Execute the processor.Methods 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
-
PRECEDENCE
public static final int PRECEDENCE- See Also:
-
-
Constructor Details
-
StandardDefaultAttributesTagProcessor
-
-
Method Details
-
getMatchingElementName
Description copied from interface:IElementProcessorReturns the element name that would make this processor match (if any).
- Specified by:
getMatchingElementNamein interfaceIElementProcessor- Returns:
- the element name.
-
getMatchingAttributeName
Description copied from interface:IElementProcessorReturns the attribute name that would make this processor match (if any).
- Specified by:
getMatchingAttributeNamein interfaceIElementProcessor- Returns:
- the attribute name.
-
process
public void process(ITemplateContext context, IProcessableElementTag tag, IElementTagStructureHandler structureHandler) Description copied from interface:IElementTagProcessorExecute the processor.
The
IProcessableElementTagobject argument is immutable, so all modifications to this object or any instructions to be given to the engine should be done through the specifiedIElementTagStructureHandlerhandler.- Specified by:
processin interfaceIElementTagProcessor- Parameters:
context- the execution context.tag- the event this processor is executing on.structureHandler- the handler that will centralise modifications and commands to the engine.
-