org.thymeleaf.processor.tag
Class AbstractRemovalTagProcessor

Object
  extended by org.thymeleaf.processor.tag.AbstractTagProcessor
      extended by org.thymeleaf.processor.tag.AbstractRemovalTagProcessor
All Implemented Interfaces:
ITagProcessor

public abstract class AbstractRemovalTagProcessor
extends AbstractTagProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractRemovalTagProcessor()
           
 
Method Summary
protected abstract  boolean getRemoveTagAndChildren(Arguments arguments, TemplateResolution templateResolution, Document document, Element element)
           
 TagProcessResult process(Arguments arguments, TemplateResolution templateResolution, Document document, Element element)
           Execute this attribute processor.
 
Methods inherited from class org.thymeleaf.processor.tag.AbstractTagProcessor
getMessage, getMessageForProcessor, getMessageForTemplate
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thymeleaf.processor.tag.ITagProcessor
getTagApplicabilities
 

Constructor Detail

AbstractRemovalTagProcessor

public AbstractRemovalTagProcessor()
Method Detail

process

public final TagProcessResult process(Arguments arguments,
                                      TemplateResolution templateResolution,
                                      Document document,
                                      Element element)
Description copied from interface: ITagProcessor

Execute this attribute processor.

This execution logic will receive as parameters the execution argument (an Arguments object), the result of resolving the processed template by the Template Resolver (a TemplateResolution object), the complete DOM node tree of the template being processed (the Document) and the DOM element representing the tag currently being processed (Element object).

Parameters:
arguments - the execution arguments, containing Template Engine configuration and execution context.
templateResolution - the result of resolving the template by the Template Resolvers.
document - the DOM node tree (document) of the template being executed.
element - the DOM element representing the tag currently being processed.
Returns:
a TagProcessResult with the result of the execution.

getRemoveTagAndChildren

protected abstract boolean getRemoveTagAndChildren(Arguments arguments,
                                                   TemplateResolution templateResolution,
                                                   Document document,
                                                   Element element)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.