org.thymeleaf.processor.tag
Class AbstractLocalVariableDefinitionTagProcessor

Object
  extended by org.thymeleaf.processor.tag.AbstractTagProcessor
      extended by org.thymeleaf.processor.tag.AbstractLocalVariableDefinitionTagProcessor
All Implemented Interfaces:
ITagProcessor

public abstract class AbstractLocalVariableDefinitionTagProcessor
extends AbstractTagProcessor

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractLocalVariableDefinitionTagProcessor()
           
 
Method Summary
protected abstract  Map<String,Object> getNewLocalVariables(Arguments arguments, TemplateResolution templateResolution, Document document, Element element)
           
 TagProcessResult process(Arguments arguments, TemplateResolution templateResolution, Document document, Element element)
           Execute this attribute processor.
 
Methods inherited from class org.thymeleaf.processor.tag.AbstractTagProcessor
getMessage, getMessageForProcessor, getMessageForTemplate, getValueProcessorDependencies
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thymeleaf.processor.tag.ITagProcessor
getTagApplicabilities
 

Constructor Detail

AbstractLocalVariableDefinitionTagProcessor

public AbstractLocalVariableDefinitionTagProcessor()
Method Detail

process

public final TagProcessResult process(Arguments arguments,
                                      TemplateResolution templateResolution,
                                      Document document,
                                      Element element)
Description copied from interface: ITagProcessor

Execute this attribute processor.

This execution logic will receive as parameters the execution argument (an Arguments object), the result of resolving the processed template by the Template Resolver (a TemplateResolution object), the complete DOM node tree of the template being processed (the Document) and the DOM element representing the tag currently being processed (Element object).

Parameters:
arguments - the execution arguments, containing Template Engine configuration and execution context.
templateResolution - the result of resolving the template by the Template Resolvers.
document - the DOM node tree (document) of the template being executed.
element - the DOM element representing the tag currently being processed.
Returns:
a TagProcessResult with the result of the execution.

getNewLocalVariables

protected abstract Map<String,Object> getNewLocalVariables(Arguments arguments,
                                                           TemplateResolution templateResolution,
                                                           Document document,
                                                           Element element)


Copyright © 2011 The THYMELEAF team. All Rights Reserved.