org.thymeleaf.processor.element
Class AbstractConditionalVisibilityElementProcessor

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

public abstract class AbstractConditionalVisibilityElementProcessor
extends AbstractElementProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractConditionalVisibilityElementProcessor(IElementNameProcessorMatcher matcher)
           
AbstractConditionalVisibilityElementProcessor(String elementName)
           
 
Method Summary
protected abstract  boolean isVisible(Arguments arguments, Element element)
           
 ProcessorResult processElement(Arguments arguments, Element element)
           
protected abstract  boolean removeHostElementIfVisible(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

AbstractConditionalVisibilityElementProcessor

public AbstractConditionalVisibilityElementProcessor(String elementName)

AbstractConditionalVisibilityElementProcessor

public AbstractConditionalVisibilityElementProcessor(IElementNameProcessorMatcher matcher)
Method Detail

processElement

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

isVisible

protected abstract boolean isVisible(Arguments arguments,
                                     Element element)

removeHostElementIfVisible

protected abstract boolean removeHostElementIfVisible(Arguments arguments,
                                                      Element element)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.