Package org.thymeleaf.spring4.processor
Class SpringObjectTagProcessor
- Object
-
- org.thymeleaf.processor.AbstractProcessor
-
- org.thymeleaf.processor.element.AbstractElementTagProcessor
-
- org.thymeleaf.processor.element.AbstractAttributeTagProcessor
-
- org.thymeleaf.standard.processor.AbstractStandardTargetSelectionTagProcessor
-
- org.thymeleaf.spring4.processor.SpringObjectTagProcessor
-
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor
,org.thymeleaf.processor.element.IElementTagProcessor
,org.thymeleaf.processor.IProcessor
public final class SpringObjectTagProcessor extends org.thymeleaf.standard.processor.AbstractStandardTargetSelectionTagProcessor
Specifies an object to use on a <form>- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_NAME
static int
ATTR_PRECEDENCE
-
Constructor Summary
Constructors Constructor Description SpringObjectTagProcessor(String dialectPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
computeAdditionalLocalVariables(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.standard.expression.IStandardExpression expression)
protected void
validateSelectionValue(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.standard.expression.IStandardExpression expression)
-
Methods inherited from class org.thymeleaf.standard.processor.AbstractStandardTargetSelectionTagProcessor
doProcess
-
Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
-
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
-
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
-
-
-
-
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
-
SpringObjectTagProcessor
public SpringObjectTagProcessor(String dialectPrefix)
-
-
Method Detail
-
validateSelectionValue
protected void validateSelectionValue(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.standard.expression.IStandardExpression expression)
- Overrides:
validateSelectionValue
in classorg.thymeleaf.standard.processor.AbstractStandardTargetSelectionTagProcessor
-
computeAdditionalLocalVariables
protected Map<String,Object> computeAdditionalLocalVariables(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.standard.expression.IStandardExpression expression)
- Overrides:
computeAdditionalLocalVariables
in classorg.thymeleaf.standard.processor.AbstractStandardTargetSelectionTagProcessor
-
-