org.thymeleaf.spring3.processor.attr
Class SpringActionAttrProcessor

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
                  extended by org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
                      extended by org.thymeleaf.spring3.processor.attr.SpringActionAttrProcessor
All Implemented Interfaces:
Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor

public final class SpringActionAttrProcessor
extends org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor

Since:
2.1.0
Author:
Daniel Fernández

Nested Class Summary
 
Nested classes/interfaces inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType
 
Field Summary
static String ATTR_NAME
           
static int ATTR_PRECEDENCE
           
 
Constructor Summary
SpringActionAttrProcessor()
           
 
Method Summary
protected  void doAdditionalProcess(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
           
protected  org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName, String newAttributeName)
           
 int getPrecedence()
           
protected  String getTargetAttributeName(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
           
protected  String getTargetAttributeValue(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
           
protected  boolean removeAttributeIfEmpty(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName, String newAttributeName)
           
 
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
recomputeProcessorsAfterExecution
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
getModifiedAttributeValues
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
processAttribute, shouldRemoveAttribute
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
doProcess, getMatcher
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_PRECEDENCE

public static final int ATTR_PRECEDENCE
See Also:
Constant Field Values

ATTR_NAME

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

SpringActionAttrProcessor

public SpringActionAttrProcessor()
Method Detail

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor

getTargetAttributeName

protected String getTargetAttributeName(org.thymeleaf.Arguments arguments,
                                        org.thymeleaf.dom.Element element,
                                        String attributeName)
Specified by:
getTargetAttributeName in class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor

getTargetAttributeValue

protected String getTargetAttributeValue(org.thymeleaf.Arguments arguments,
                                         org.thymeleaf.dom.Element element,
                                         String attributeName)
Overrides:
getTargetAttributeValue in class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor

getModificationType

protected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(org.thymeleaf.Arguments arguments,
                                                                                                                   org.thymeleaf.dom.Element element,
                                                                                                                   String attributeName,
                                                                                                                   String newAttributeName)
Specified by:
getModificationType in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor

removeAttributeIfEmpty

protected boolean removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
                                         org.thymeleaf.dom.Element element,
                                         String attributeName,
                                         String newAttributeName)
Specified by:
removeAttributeIfEmpty in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor

doAdditionalProcess

protected void doAdditionalProcess(org.thymeleaf.Arguments arguments,
                                   org.thymeleaf.dom.Element element,
                                   String attributeName)
Overrides:
doAdditionalProcess in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor


Copyright © 2013 The THYMELEAF team. All Rights Reserved.