org.thymeleaf.processor.attr
Class AbstractFragmentAttrProcessor

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

public abstract class AbstractFragmentAttrProcessor
extends AbstractAttrProcessor

Since:
1.1
Author:
Daniel Fernández

Nested Class Summary
protected static class AbstractFragmentAttrProcessor.AbstractFragmentSpec
           
protected static class AbstractFragmentAttrProcessor.CompleteTemplateFragmentSpec
           
protected static class AbstractFragmentAttrProcessor.DOMSelectorFragmentSpec
           
protected static class AbstractFragmentAttrProcessor.NamedFragmentSpec
           
 
Constructor Summary
AbstractFragmentAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractFragmentAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  AbstractFragmentAttrProcessor.AbstractFragmentSpec getFragmentSpec(Arguments arguments, Element element, String attributeName, String attributeValue)
           
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

AbstractFragmentAttrProcessor

public AbstractFragmentAttrProcessor(String attributeName)

AbstractFragmentAttrProcessor

public AbstractFragmentAttrProcessor(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)

getFragmentSpec

protected abstract AbstractFragmentAttrProcessor.AbstractFragmentSpec getFragmentSpec(Arguments arguments,
                                                                                      Element element,
                                                                                      String attributeName,
                                                                                      String attributeValue)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.