public abstract class AbstractAttributeModifierAttrProcessor extends AbstractAttrProcessor
Modifier and Type | Class and Description |
---|---|
static class |
AbstractAttributeModifierAttrProcessor.ModificationType |
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttributeModifierAttrProcessor(IAttributeNameProcessorMatcher matcher) |
protected |
AbstractAttributeModifierAttrProcessor(String attributeName) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAdditionalProcess(Arguments arguments,
Element element,
String attributeName) |
protected abstract AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(Arguments arguments,
Element element,
String attributeName,
String newAttributeName) |
protected abstract Map<String,String> |
getModifiedAttributeValues(Arguments arguments,
Element element,
String attributeName) |
ProcessorResult |
processAttribute(Arguments arguments,
Element element,
String attributeName) |
protected abstract boolean |
recomputeProcessorsAfterExecution(Arguments arguments,
Element element,
String attributeName) |
protected abstract boolean |
removeAttributeIfEmpty(Arguments arguments,
Element element,
String attributeName,
String newAttributeName) |
protected boolean |
shouldRemoveAttribute(Arguments arguments,
Element element,
String attributeName) |
doProcess, getMatcher
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, getPrecedence, process
protected AbstractAttributeModifierAttrProcessor(String attributeName)
protected AbstractAttributeModifierAttrProcessor(IAttributeNameProcessorMatcher matcher)
public final ProcessorResult processAttribute(Arguments arguments, Element element, String attributeName)
processAttribute
in class AbstractAttrProcessor
protected abstract Map<String,String> getModifiedAttributeValues(Arguments arguments, Element element, String attributeName)
protected abstract AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments, Element element, String attributeName, String newAttributeName)
protected abstract boolean removeAttributeIfEmpty(Arguments arguments, Element element, String attributeName, String newAttributeName)
protected abstract boolean recomputeProcessorsAfterExecution(Arguments arguments, Element element, String attributeName)
protected void doAdditionalProcess(Arguments arguments, Element element, String attributeName)
Copyright © 2016 The THYMELEAF team. All rights reserved.