org.thymeleaf.standard.processor.attr
Class AbstractStandardFragmentInclusionAttrProcessor

Object
  extended by org.thymeleaf.processor.attr.AbstractAttrProcessor
      extended by org.thymeleaf.processor.attr.AbstractChildrenModifierAttrProcessor
          extended by org.thymeleaf.processor.attr.AbstractFragmentInclusionAttrProcessor
              extended by org.thymeleaf.standard.processor.attr.AbstractStandardFragmentInclusionAttrProcessor
All Implemented Interfaces:
Comparable<IAttrProcessor>, IAttrProcessor
Direct Known Subclasses:
StandardIncludeAttrProcessor

public abstract class AbstractStandardFragmentInclusionAttrProcessor
extends AbstractFragmentInclusionAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Nested Class Summary
 
Nested classes/interfaces inherited from class org.thymeleaf.processor.attr.AbstractFragmentInclusionAttrProcessor
AbstractFragmentInclusionAttrProcessor.AbstractFragmentSpec, AbstractFragmentInclusionAttrProcessor.CompleteTemplateFragmentSpec, AbstractFragmentInclusionAttrProcessor.NamedFragmentSpec, AbstractFragmentInclusionAttrProcessor.XPathFragmentSpec
 
Constructor Summary
AbstractStandardFragmentInclusionAttrProcessor()
           
 
Method Summary
protected abstract  String getFragmentAttributeName(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, StandardSyntax.FragmentSelection fragmentSelection)
           
protected  AbstractFragmentInclusionAttrProcessor.AbstractFragmentSpec getFragmentSpec(Arguments arguments, TemplateResolution templateResolution, Document document, Element element, Attr attribute, String attributeName, String attributeValue)
           
 Set<Class<? extends IValueProcessor>> getValueProcessorDependencies()
           Return this processor's dependencies.
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractFragmentInclusionAttrProcessor
getNewChildren
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractChildrenModifierAttrProcessor
process
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
compareTo, 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.attr.IAttrProcessor
getAttributeApplicabilities, getPrecedence
 

Constructor Detail

AbstractStandardFragmentInclusionAttrProcessor

public AbstractStandardFragmentInclusionAttrProcessor()
Method Detail

getValueProcessorDependencies

public final Set<Class<? extends IValueProcessor>> getValueProcessorDependencies()
Description copied from interface: IAttrProcessor

Return this processor's dependencies.

The dependencies are the set of value processors (IValueProcessor objects) this attribute processor needs for being executed. This has to be declared for dialect validation purposes at configuration time.

Specified by:
getValueProcessorDependencies in interface IAttrProcessor
Overrides:
getValueProcessorDependencies in class AbstractAttrProcessor
Returns:
the set of value processor dependencies.

getFragmentSpec

protected final AbstractFragmentInclusionAttrProcessor.AbstractFragmentSpec getFragmentSpec(Arguments arguments,
                                                                                            TemplateResolution templateResolution,
                                                                                            Document document,
                                                                                            Element element,
                                                                                            Attr attribute,
                                                                                            String attributeName,
                                                                                            String attributeValue)
Specified by:
getFragmentSpec in class AbstractFragmentInclusionAttrProcessor

getFragmentAttributeName

protected abstract String getFragmentAttributeName(Arguments arguments,
                                                   TemplateResolution templateResolution,
                                                   Document document,
                                                   Element element,
                                                   Attr attribute,
                                                   StandardSyntax.FragmentSelection fragmentSelection)


Copyright © 2011 The THYMELEAF team. All Rights Reserved.