org.thymeleaf.spring3.processor.attr
Class SpringSrcAttrProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
org.thymeleaf.spring3.processor.attr.SpringSrcAttrProcessor
- All Implemented Interfaces:
- Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor
public final class SpringSrcAttrProcessor
- extends org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
- Since:
- 2.1.0
- Author:
- Daniel Fernández
Nested classes/interfaces inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor |
org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType |
Method Summary |
protected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
|
int |
getPrecedence()
|
protected String |
getTargetAttributeName(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
|
protected String |
getTargetAttributeValue(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
|
protected boolean |
removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
|
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor |
recomputeProcessorsAfterExecution |
Methods inherited from class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor |
getModifiedAttributeValues |
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor |
doAdditionalProcess, processAttribute, shouldRemoveAttribute |
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor |
doProcess, getMatcher |
Methods inherited from class org.thymeleaf.processor.AbstractProcessor |
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_PRECEDENCE
public static final int ATTR_PRECEDENCE
- See Also:
- Constant Field Values
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
SpringSrcAttrProcessor
public SpringSrcAttrProcessor()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence
in class org.thymeleaf.processor.AbstractProcessor
getTargetAttributeName
protected String getTargetAttributeName(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
- Specified by:
getTargetAttributeName
in class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
getTargetAttributeValue
protected String getTargetAttributeValue(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
- Overrides:
getTargetAttributeValue
in class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
getModificationType
protected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
- Specified by:
getModificationType
in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
removeAttributeIfEmpty
protected boolean removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
- Specified by:
removeAttributeIfEmpty
in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
Copyright © 2013 The THYMELEAF team. All Rights Reserved.