org.thymeleaf.processor.attr
Class AbstractAttributeModifierAttrProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
- All Implemented Interfaces:
- Comparable<IProcessor>, IProcessor
- Direct Known Subclasses:
- AbstractSingleAttributeModifierAttrProcessor, AbstractStandardAttributeModifierAttrProcessor, AbstractStandardSingleValueMultipleAttributeModifierAttrProcessor
public abstract class AbstractAttributeModifierAttrProcessor
- extends AbstractAttrProcessor
- Since:
- 1.0
- Author:
- Daniel Fernández
Method Summary |
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)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAttributeModifierAttrProcessor
public AbstractAttributeModifierAttrProcessor(String attributeName)
AbstractAttributeModifierAttrProcessor
public AbstractAttributeModifierAttrProcessor(IAttributeNameProcessorMatcher matcher)
processAttribute
public final ProcessorResult processAttribute(Arguments arguments,
Element element,
String attributeName)
- Specified by:
processAttribute
in class AbstractAttrProcessor
getModifiedAttributeValues
protected abstract Map<String,String> getModifiedAttributeValues(Arguments arguments,
Element element,
String attributeName)
getModificationType
protected abstract AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments,
Element element,
String attributeName,
String newAttributeName)
removeAttributeIfEmpty
protected abstract boolean removeAttributeIfEmpty(Arguments arguments,
Element element,
String attributeName,
String newAttributeName)
recomputeProcessorsAfterExecution
protected abstract boolean recomputeProcessorsAfterExecution(Arguments arguments,
Element element,
String attributeName)
doAdditionalProcess
protected void doAdditionalProcess(Arguments arguments,
Element element,
String attributeName)
shouldRemoveAttribute
protected boolean shouldRemoveAttribute(Arguments arguments,
Element element,
String attributeName)
Copyright © 2013 The THYMELEAF team. All Rights Reserved.