public final class StandardSingleNonRemovableAttributeModifierAttrProcessor extends AbstractStandardSingleAttributeModifierAttrProcessor
AbstractAttributeModifierAttrProcessor.ModificationType
Modifier and Type | Field and Description |
---|---|
static String[] |
ATTR_NAMES |
static int |
ATTR_PRECEDENCE |
static StandardSingleNonRemovableAttributeModifierAttrProcessor[] |
PROCESSORS |
Constructor and Description |
---|
StandardSingleNonRemovableAttributeModifierAttrProcessor(String attributeName) |
Modifier and Type | Method and Description |
---|---|
protected AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(Arguments arguments,
Element element,
String attributeName,
String newAttributeName) |
int |
getPrecedence() |
protected String |
getTargetAttributeName(Arguments arguments,
Element element,
String attributeName) |
protected boolean |
removeAttributeIfEmpty(Arguments arguments,
Element element,
String attributeName,
String newAttributeName) |
getTargetAttributeValue, recomputeProcessorsAfterExecution
getModifiedAttributeValues
doAdditionalProcess, processAttribute, shouldRemoveAttribute
doProcess, getMatcher
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
public static final int ATTR_PRECEDENCE
public static final String[] ATTR_NAMES
public static final StandardSingleNonRemovableAttributeModifierAttrProcessor[] PROCESSORS
public StandardSingleNonRemovableAttributeModifierAttrProcessor(String attributeName)
public int getPrecedence()
getPrecedence
in class AbstractProcessor
protected String getTargetAttributeName(Arguments arguments, Element element, String attributeName)
getTargetAttributeName
in class AbstractSingleAttributeModifierAttrProcessor
protected AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments, Element element, String attributeName, String newAttributeName)
getModificationType
in class AbstractAttributeModifierAttrProcessor
protected boolean removeAttributeIfEmpty(Arguments arguments, Element element, String attributeName, String newAttributeName)
removeAttributeIfEmpty
in class AbstractAttributeModifierAttrProcessor
Copyright © 2016 The THYMELEAF team. All rights reserved.