org.thymeleaf.processor.attr
Class AbstractIterationAttrProcessor

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

public abstract class AbstractIterationAttrProcessor
extends AbstractAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Nested Class Summary
protected static class AbstractIterationAttrProcessor.IterationSpec
           
static class AbstractIterationAttrProcessor.StatusVar
           
 
Field Summary
static String DEFAULT_STATUS_VAR_SUFFIX
           
 
Constructor Summary
AbstractIterationAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractIterationAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  AbstractIterationAttrProcessor.IterationSpec getIterationSpec(Arguments arguments, Element element, String attributeName)
           
 ProcessorResult processAttribute(Arguments arguments, Element element, String attributeName)
           
protected abstract  void processClonedHostIterationElement(Arguments arguments, Element iteratedChild, 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
 

Field Detail

DEFAULT_STATUS_VAR_SUFFIX

public static final String DEFAULT_STATUS_VAR_SUFFIX
See Also:
Constant Field Values
Constructor Detail

AbstractIterationAttrProcessor

public AbstractIterationAttrProcessor(String attributeName)

AbstractIterationAttrProcessor

public AbstractIterationAttrProcessor(IAttributeNameProcessorMatcher matcher)
Method Detail

processAttribute

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

getIterationSpec

protected abstract AbstractIterationAttrProcessor.IterationSpec getIterationSpec(Arguments arguments,
                                                                                 Element element,
                                                                                 String attributeName)

processClonedHostIterationElement

protected abstract void processClonedHostIterationElement(Arguments arguments,
                                                          Element iteratedChild,
                                                          String attributeName)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.