org.thymeleaf.processor.attr
Class AbstractRemovalAttrProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.attr.AbstractAttrProcessor
          extended by org.thymeleaf.processor.attr.AbstractRemovalAttrProcessor
All Implemented Interfaces:
Comparable<IProcessor>, IProcessor
Direct Known Subclasses:
StandardRemoveAttrProcessor

public abstract class AbstractRemovalAttrProcessor
extends AbstractAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractRemovalAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractRemovalAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  String getRemoveAllAttrValue()
           
protected abstract  String getRemoveAllButFirstAttrValue()
           
protected abstract  String getRemoveBodyAttrValue()
           
protected abstract  String getRemoveElementAttrValue()
           
 ProcessorResult processAttribute(Arguments arguments, Element element, String attributeName)
           
 
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

AbstractRemovalAttrProcessor

public AbstractRemovalAttrProcessor(IAttributeNameProcessorMatcher matcher)

AbstractRemovalAttrProcessor

public AbstractRemovalAttrProcessor(String attributeName)
Method Detail

processAttribute

public final ProcessorResult processAttribute(Arguments arguments,
                                              Element element,
                                              String attributeName)
Specified by:
processAttribute in class AbstractAttrProcessor

getRemoveAllAttrValue

protected abstract String getRemoveAllAttrValue()

getRemoveAllButFirstAttrValue

protected abstract String getRemoveAllButFirstAttrValue()

getRemoveBodyAttrValue

protected abstract String getRemoveBodyAttrValue()

getRemoveElementAttrValue

protected abstract String getRemoveElementAttrValue()


Copyright © 2012 The THYMELEAF team. All Rights Reserved.