org.thymeleaf.standard.processor.attr
Class StandardXmlLangAttrProcessor

Object
  extended by org.thymeleaf.processor.attr.AbstractAttrProcessor
      extended by org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
          extended by org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
              extended by org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
                  extended by org.thymeleaf.standard.processor.attr.StandardXmlLangAttrProcessor
All Implemented Interfaces:
Comparable<IAttrProcessor>, IAttrProcessor

public final class StandardXmlLangAttrProcessor
extends AbstractStandardSingleAttributeModifierAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Nested Class Summary
 
Nested classes/interfaces inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
AbstractAttributeModifierAttrProcessor.ModificationType
 
Field Summary
static String ATTR_NAME
           
static Integer ATTR_PRECEDENCE
           
static String TARGET_ATTR_NAME
           
 
Constructor Summary
StandardXmlLangAttrProcessor()
           
 
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)
           
 Integer getPrecedence()
           
protected  String getTargetAttributeName(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
protected  boolean removeAttributeIfEmpty(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue, String newAttributeName)
           
 
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
getTargetAttributeValue, getValueProcessorDependencies
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
getNewAttributeValues
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
process
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_PRECEDENCE

public static final Integer ATTR_PRECEDENCE

ATTR_NAME

public static final String ATTR_NAME
See Also:
Constant Field Values

TARGET_ATTR_NAME

public static final String TARGET_ATTR_NAME
See Also:
Constant Field Values
Constructor Detail

StandardXmlLangAttrProcessor

public StandardXmlLangAttrProcessor()
Method Detail

getAttributeApplicabilities

public Set<AttrApplicability> getAttributeApplicabilities()

getPrecedence

public Integer getPrecedence()

getTargetAttributeName

protected String getTargetAttributeName(Arguments arguments,
                                        TemplateResolution templateResolution,
                                        Document document,
                                        Element element,
                                        Attr attribute,
                                        String attributeName,
                                        String attributeValue)
Specified by:
getTargetAttributeName in class AbstractSingleAttributeModifierAttrProcessor

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.