org.thymeleaf.spring3.processor.attr
Class SpringObjectAttrProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.attr.AbstractAttrProcessor
          extended by org.thymeleaf.processor.attr.AbstractSelectionTargetAttrProcessor
              extended by org.thymeleaf.standard.processor.attr.AbstractStandardSelectionAttrProcessor
                  extended by org.thymeleaf.spring3.processor.attr.SpringObjectAttrProcessor
All Implemented Interfaces:
Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor

public final class SpringObjectAttrProcessor
extends org.thymeleaf.standard.processor.attr.AbstractStandardSelectionAttrProcessor

Specifies an object to use on a <form>

Since:
1.0
Author:
Daniel Fernández

Field Summary
static String ATTR_NAME
           
static int ATTR_PRECEDENCE
           
 
Constructor Summary
SpringObjectAttrProcessor()
           
 
Method Summary
protected  Map<String,Object> getAdditionalLocalVariables(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
           
 int getPrecedence()
           
protected  void validateSelectionValue(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName, String attributeValue, org.thymeleaf.standard.expression.IStandardExpression expression)
           
 
Methods inherited from class org.thymeleaf.standard.processor.attr.AbstractStandardSelectionAttrProcessor
getNewSelectionTarget
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractSelectionTargetAttrProcessor
doAdditionalProcess, processAttribute
 
Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor
doProcess, getMatcher
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_PRECEDENCE

public static final int ATTR_PRECEDENCE
See Also:
Constant Field Values

ATTR_NAME

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

SpringObjectAttrProcessor

public SpringObjectAttrProcessor()
Method Detail

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor

validateSelectionValue

protected void validateSelectionValue(org.thymeleaf.Arguments arguments,
                                      org.thymeleaf.dom.Element element,
                                      String attributeName,
                                      String attributeValue,
                                      org.thymeleaf.standard.expression.IStandardExpression expression)
Overrides:
validateSelectionValue in class org.thymeleaf.standard.processor.attr.AbstractStandardSelectionAttrProcessor

getAdditionalLocalVariables

protected Map<String,Object> getAdditionalLocalVariables(org.thymeleaf.Arguments arguments,
                                                         org.thymeleaf.dom.Element element,
                                                         String attributeName)
Overrides:
getAdditionalLocalVariables in class org.thymeleaf.processor.attr.AbstractSelectionTargetAttrProcessor


Copyright © 2013 The THYMELEAF team. All Rights Reserved.