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
AbstractFragmentHandlingAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractFragmentHandlingAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  FragmentAndTarget getFragmentAndTarget(Arguments arguments, Element element, String attributeName, String attributeValue, boolean substituteInclusionNode)
           
protected abstract  boolean getSubstituteInclusionNode(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

public AbstractFragmentHandlingAttrProcessor(String attributeName)

AbstractFragmentHandlingAttrProcessor

public AbstractFragmentHandlingAttrProcessor(IAttributeNameProcessorMatcher matcher)
Method Detail

processAttribute

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

getSubstituteInclusionNode

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

getFragmentAndTarget

protected abstract FragmentAndTarget getFragmentAndTarget(Arguments arguments,
                                                          Element element,
                                                          String attributeName,
                                                          String attributeValue,
                                                          boolean substituteInclusionNode)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.