org.thymeleaf.processor.attr
Class AbstractSingleAttributeModifierAttrProcessor

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

public abstract class AbstractSingleAttributeModifierAttrProcessor
extends AbstractAttributeModifierAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Nested Class Summary
 
Nested classes/interfaces inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
AbstractAttributeModifierAttrProcessor.ModificationType
 
Constructor Summary
AbstractSingleAttributeModifierAttrProcessor()
           
 
Method Summary
protected  Map<String,String> getNewAttributeValues(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
protected abstract  String getTargetAttributeName(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
protected abstract  String getTargetAttributeValue(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
getModificationType, process, removeAttributeIfEmpty
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, getValueProcessorDependencies
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thymeleaf.processor.attr.IAttrProcessor
getAttributeApplicabilities, getPrecedence
 

Constructor Detail

AbstractSingleAttributeModifierAttrProcessor

public AbstractSingleAttributeModifierAttrProcessor()
Method Detail

getNewAttributeValues

protected final Map<String,String> getNewAttributeValues(Arguments arguments,
                                                         TemplateResolution templateResolution,
                                                         Document document,
                                                         Element element,
                                                         Attr attribute,
                                                         String attributeName,
                                                         String attributeValue)
Specified by:
getNewAttributeValues in class AbstractAttributeModifierAttrProcessor

getTargetAttributeName

protected abstract String getTargetAttributeName(Arguments arguments,
                                                 TemplateResolution templateResolution,
                                                 Document document,
                                                 Element element,
                                                 Attr attribute,
                                                 String attributeName,
                                                 String attributeValue)

getTargetAttributeValue

protected abstract String getTargetAttributeValue(Arguments arguments,
                                                  TemplateResolution templateResolution,
                                                  Document document,
                                                  Element element,
                                                  Attr attribute,
                                                  String attributeName,
                                                  String attributeValue)


Copyright © 2011 The THYMELEAF team. All Rights Reserved.