org.thymeleaf.standard.processor.attr
Class StandardXmlBaseAttrProcessor

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.standard.processor.attr.StandardXmlBaseAttrProcessor
All Implemented Interfaces:
Comparable<IProcessor>, IProcessor

public final class StandardXmlBaseAttrProcessor
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 int ATTR_PRECEDENCE
           
static String TARGET_ATTR_NAME
           
 
Constructor Summary
StandardXmlBaseAttrProcessor()
           
 
Method Summary
protected  AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments, Element element, String attributeName, String newAttributeName)
           
 int getPrecedence()
           
protected  String getTargetAttributeName(Arguments arguments, Element element, String attributeName)
           
protected  boolean removeAttributeIfEmpty(Arguments arguments, Element element, String attributeName, String newAttributeName)
           
 
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardSingleAttributeModifierAttrProcessor
getTargetAttributeValue, recomputeProcessorsAfterExecution
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractSingleAttributeModifierAttrProcessor
getModifiedAttributeValues
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
processAttribute
 
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

TARGET_ATTR_NAME

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

StandardXmlBaseAttrProcessor

public StandardXmlBaseAttrProcessor()
Method Detail

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in class AbstractProcessor

getTargetAttributeName

protected String getTargetAttributeName(Arguments arguments,
                                        Element element,
                                        String attributeName)
Specified by:
getTargetAttributeName in class AbstractSingleAttributeModifierAttrProcessor

getModificationType

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

removeAttributeIfEmpty

protected boolean removeAttributeIfEmpty(Arguments arguments,
                                         Element element,
                                         String attributeName,
                                         String newAttributeName)
Specified by:
removeAttributeIfEmpty in class AbstractAttributeModifierAttrProcessor


Copyright © 2012 The THYMELEAF team. All Rights Reserved.