org.thymeleaf.standard.processor.attr
Class StandardAttrprependAttrProcessor

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

public final class StandardAttrprependAttrProcessor
extends AbstractStandardAttributeModifierAttrProcessor

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
           
 
Constructor Summary
StandardAttrprependAttrProcessor()
           
 
Method Summary
protected  AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(Arguments arguments, Element element, String attributeName, String newAttributeName)
           
 int getPrecedence()
           
protected  boolean removeAttributeIfEmpty(Arguments arguments, Element element, String attributeName, String newAttributeName)
           
 
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardAttributeModifierAttrProcessor
getModifiedAttributeValues, recomputeProcessorsAfterExecution
 
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
Constructor Detail

StandardAttrprependAttrProcessor

public StandardAttrprependAttrProcessor()
Method Detail

getPrecedence

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

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.