org.thymeleaf.processor.attr
Class AbstractFragmentHandlingAttrProcessor

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

public abstract class AbstractFragmentHandlingAttrProcessor
extends AbstractAttrProcessor

Since:
2.0.9
Author:
Daniel Fernández

Constructor Summary
protected AbstractFragmentHandlingAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
protected AbstractFragmentHandlingAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  List<Node> computeFragment(Arguments arguments, Element element, String attributeName, String attributeValue)
           
protected abstract  boolean getRemoveHostNode(Arguments arguments, Element element, String attributeName, String attributeValue)
           
 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

AbstractFragmentHandlingAttrProcessor

protected AbstractFragmentHandlingAttrProcessor(String attributeName)

AbstractFragmentHandlingAttrProcessor

protected AbstractFragmentHandlingAttrProcessor(IAttributeNameProcessorMatcher matcher)
Method Detail

processAttribute

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

getRemoveHostNode

protected abstract boolean getRemoveHostNode(Arguments arguments,
                                             Element element,
                                             String attributeName,
                                             String attributeValue)

computeFragment

protected abstract List<Node> computeFragment(Arguments arguments,
                                              Element element,
                                              String attributeName,
                                              String attributeValue)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.