org.thymeleaf.standard.processor.attr
Class AbstractStandardSwitchStructureAttrProcessor

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

public abstract class AbstractStandardSwitchStructureAttrProcessor
extends AbstractLocalVariableDefinitionAttrProcessor

Since:
2.0.0
Author:
Daniel Fernández

Nested Class Summary
static class AbstractStandardSwitchStructureAttrProcessor.SwitchStructure
           
 
Field Summary
static String SWITCH_VARIABLE_NAME
           
 
Constructor Summary
AbstractStandardSwitchStructureAttrProcessor(IAttributeNameProcessorMatcher matcher)
           
AbstractStandardSwitchStructureAttrProcessor(String attributeName)
           
 
Method Summary
protected  java.util.Map<String,Object> getNewLocalVariables(Arguments arguments, Element element, String attributeName)
           
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractLocalVariableDefinitionAttrProcessor
processAttribute
 
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

SWITCH_VARIABLE_NAME

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

AbstractStandardSwitchStructureAttrProcessor

public AbstractStandardSwitchStructureAttrProcessor(IAttributeNameProcessorMatcher matcher)

AbstractStandardSwitchStructureAttrProcessor

public AbstractStandardSwitchStructureAttrProcessor(String attributeName)
Method Detail

getNewLocalVariables

protected final java.util.Map<String,Object> getNewLocalVariables(Arguments arguments,
                                                                  Element element,
                                                                  String attributeName)
Specified by:
getNewLocalVariables in class AbstractLocalVariableDefinitionAttrProcessor


Copyright © 2012 The THYMELEAF team. All Rights Reserved.