org.thymeleaf.processor.attr
Class AbstractSingleAttributeModifierAttrProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      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<IProcessor>, IProcessor
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(IAttributeNameProcessorMatcher matcher)
           
AbstractSingleAttributeModifierAttrProcessor(String attributeName)
           
 
Method Summary
protected  java.util.Map<String,String> getModifiedAttributeValues(Arguments arguments, Element element, String attributeName)
           
protected abstract  String getTargetAttributeName(Arguments arguments, Element element, String attributeName)
           
protected abstract  String getTargetAttributeValue(Arguments arguments, Element element, String attributeName)
           
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
getModificationType, processAttribute, recomputeProcessorsAfterExecution, removeAttributeIfEmpty
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
doProcess, getMatcher
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, getPrecedence, process
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSingleAttributeModifierAttrProcessor

public AbstractSingleAttributeModifierAttrProcessor(IAttributeNameProcessorMatcher matcher)

AbstractSingleAttributeModifierAttrProcessor

public AbstractSingleAttributeModifierAttrProcessor(String attributeName)
Method Detail

getModifiedAttributeValues

protected final java.util.Map<String,String> getModifiedAttributeValues(Arguments arguments,
                                                                        Element element,
                                                                        String attributeName)
Specified by:
getModifiedAttributeValues in class AbstractAttributeModifierAttrProcessor

getTargetAttributeName

protected abstract String getTargetAttributeName(Arguments arguments,
                                                 Element element,
                                                 String attributeName)

getTargetAttributeValue

protected abstract String getTargetAttributeValue(Arguments arguments,
                                                  Element element,
                                                  String attributeName)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.