org.thymeleaf.processor.attr
Class AbstractLocalVariableDefinitionAttrProcessor

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

public abstract class AbstractLocalVariableDefinitionAttrProcessor
extends AbstractAttrProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractLocalVariableDefinitionAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractLocalVariableDefinitionAttrProcessor(String attributeName)
           
 
Method Summary
protected abstract  java.util.Map<String,Object> getNewLocalVariables(Arguments arguments, Element element, String attributeName)
           
 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

AbstractLocalVariableDefinitionAttrProcessor

public AbstractLocalVariableDefinitionAttrProcessor(String attributeName)

AbstractLocalVariableDefinitionAttrProcessor

public AbstractLocalVariableDefinitionAttrProcessor(IAttributeNameProcessorMatcher matcher)
Method Detail

processAttribute

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

getNewLocalVariables

protected abstract java.util.Map<String,Object> getNewLocalVariables(Arguments arguments,
                                                                     Element element,
                                                                     String attributeName)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.