org.thymeleaf.processor.element
Class AbstractRemovalElementProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.element.AbstractElementProcessor
          extended by org.thymeleaf.processor.element.AbstractRemovalElementProcessor
All Implemented Interfaces:
Comparable<IProcessor>, IProcessor

public abstract class AbstractRemovalElementProcessor
extends AbstractElementProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractRemovalElementProcessor(IElementNameProcessorMatcher matcher)
           
AbstractRemovalElementProcessor(String elementName)
           
 
Method Summary
protected abstract  boolean getRemoveElementAndChildren(Arguments arguments, Element element)
           
 ProcessorResult processElement(Arguments arguments, Element element)
           
protected abstract  boolean removeHostElementIfChildNotRemoved(Arguments arguments, Element element)
           
 
Methods inherited from class org.thymeleaf.processor.element.AbstractElementProcessor
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

AbstractRemovalElementProcessor

public AbstractRemovalElementProcessor(String elementName)

AbstractRemovalElementProcessor

public AbstractRemovalElementProcessor(IElementNameProcessorMatcher matcher)
Method Detail

processElement

public final ProcessorResult processElement(Arguments arguments,
                                            Element element)
Specified by:
processElement in class AbstractElementProcessor

getRemoveElementAndChildren

protected abstract boolean getRemoveElementAndChildren(Arguments arguments,
                                                       Element element)

removeHostElementIfChildNotRemoved

protected abstract boolean removeHostElementIfChildNotRemoved(Arguments arguments,
                                                              Element element)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.