public final class StandardDefaultAttributesTagProcessor extends AbstractProcessor implements IElementTagProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
PRECEDENCE |
| Constructor and Description |
|---|
StandardDefaultAttributesTagProcessor(TemplateMode templateMode,
String dialectPrefix) |
| Modifier and Type | Method and Description |
|---|---|
MatchingAttributeName |
getMatchingAttributeName()
Returns the attribute name that would make this processor match (if any).
|
MatchingElementName |
getMatchingElementName()
Returns the element name that would make this processor match (if any).
|
void |
process(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler)
Execute the processor.
|
getPrecedence, getTemplateModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrecedence, getTemplateModepublic static final int PRECEDENCE
public StandardDefaultAttributesTagProcessor(TemplateMode templateMode, String dialectPrefix)
public final MatchingElementName getMatchingElementName()
IElementProcessorReturns the element name that would make this processor match (if any).
getMatchingElementName in interface IElementProcessorpublic final MatchingAttributeName getMatchingAttributeName()
IElementProcessorReturns the attribute name that would make this processor match (if any).
getMatchingAttributeName in interface IElementProcessorpublic void process(ITemplateContext context, IProcessableElementTag tag, IElementTagStructureHandler structureHandler)
IElementTagProcessorExecute the processor.
The IProcessableElementTag object argument is immutable, so all modifications to this object or any
instructions to be given to the engine should be done through the specified
IElementTagStructureHandler handler.
process in interface IElementTagProcessorcontext - the execution context.tag - the event this processor is executing on.structureHandler - the handler that will centralise modifications and commands to the engine.Copyright © 2017 The THYMELEAF team. All rights reserved.