org.thymeleaf.standard.processor.attr
Class StandardLangXmlLangAttrProcessor
Object
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
org.thymeleaf.standard.processor.attr.AbstractStandardSingleValueMultipleAttributeModifierAttrProcessor
org.thymeleaf.standard.processor.attr.StandardLangXmlLangAttrProcessor
- All Implemented Interfaces:
- Comparable<IAttrProcessor>, IAttrProcessor
public final class StandardLangXmlLangAttrProcessor
- extends AbstractStandardSingleValueMultipleAttributeModifierAttrProcessor
- Since:
- 1.0
- Author:
- Daniel Fernández
|
Method Summary |
Set<AttrApplicability> |
getAttributeApplicabilities()
|
protected AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
String newAttributeName)
|
protected Set<String> |
getNewAttributeNames(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
StandardSyntax.Value value)
|
Integer |
getPrecedence()
|
protected boolean |
removeAttributeIfEmpty(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
String newAttributeName)
|
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_PRECEDENCE
public static final Integer ATTR_PRECEDENCE
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
TARGET_ATTR_NAMES
public static final Set<String> TARGET_ATTR_NAMES
StandardLangXmlLangAttrProcessor
public StandardLangXmlLangAttrProcessor()
getAttributeApplicabilities
public Set<AttrApplicability> getAttributeApplicabilities()
getPrecedence
public Integer getPrecedence()
getNewAttributeNames
protected Set<String> getNewAttributeNames(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
StandardSyntax.Value value)
- Specified by:
getNewAttributeNames in class AbstractStandardSingleValueMultipleAttributeModifierAttrProcessor
getModificationType
protected AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
String newAttributeName)
- Specified by:
getModificationType in class AbstractAttributeModifierAttrProcessor
removeAttributeIfEmpty
protected boolean removeAttributeIfEmpty(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element,
Attr attribute,
String attributeName,
String attributeValue,
String newAttributeName)
- Specified by:
removeAttributeIfEmpty in class AbstractAttributeModifierAttrProcessor
Copyright © 2011 The THYMELEAF team. All Rights Reserved.