org.thymeleaf.standard.processor.attr
Class AbstractStandardSingleAttributeModifierAttrProcessor

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
All Implemented Interfaces:
Comparable<IAttrProcessor>, IAttrProcessor
Direct Known Subclasses:
StandardClassappendAttrProcessor, StandardDOMEventAttributeModifierAttrProcessor, StandardSingleNonRemovableAttributeModifierAttrProcessor, StandardSingleRemovableAttributeModifierAttrProcessor, StandardXmlBaseAttrProcessor, StandardXmlLangAttrProcessor, StandardXmlSpaceAttrProcessor

public abstract class AbstractStandardSingleAttributeModifierAttrProcessor
extends AbstractSingleAttributeModifierAttrProcessor

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
AbstractStandardSingleAttributeModifierAttrProcessor()
           
 
Method Summary
protected  String getTargetAttributeValue(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
 Set<Class<? extends IValueProcessor>> getValueProcessorDependencies()
           Return this processor's dependencies.
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
getNewAttributeValues, getTargetAttributeName
 
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
 
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

AbstractStandardSingleAttributeModifierAttrProcessor

public AbstractStandardSingleAttributeModifierAttrProcessor()
Method Detail

getValueProcessorDependencies

public final Set<Class<? extends IValueProcessor>> getValueProcessorDependencies()
Description copied from interface: IAttrProcessor

Return this processor's dependencies.

The dependencies are the set of value processors (IValueProcessor objects) this attribute processor needs for being executed. This has to be declared for dialect validation purposes at configuration time.

Specified by:
getValueProcessorDependencies in interface IAttrProcessor
Overrides:
getValueProcessorDependencies in class AbstractAttrProcessor
Returns:
the set of value processor dependencies.

getTargetAttributeValue

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


Copyright © 2011 The THYMELEAF team. All Rights Reserved.