public class MyBatisParamTagProcessor
extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
mb:p tag. #{…}) expression that can parsed data access library and
register an iteration object to the bind variables.| Constructor and Description |
|---|
MyBatisParamTagProcessor(org.thymeleaf.templatemode.TemplateMode templateMode,
String prefix)
Constructor that can be specified the template mode and dialect prefix.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) |
void |
setBindVariableRender(UnaryOperator<String> bindVariableRender)
Set a custom bind variable render function.
By default, render #{...} format. |
doProcessgetDialectPrefix, getMatchingAttributeName, getMatchingElementName, processgetPrecedence, getTemplateModepublic MyBatisParamTagProcessor(org.thymeleaf.templatemode.TemplateMode templateMode,
String prefix)
templateMode - A target template modeprefix - A target dialect prefixpublic void setBindVariableRender(UnaryOperator<String> bindVariableRender)
bindVariableRender - a custom bind variable render functionprotected void doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
doProcess in class org.thymeleaf.processor.element.AbstractAttributeTagProcessorCopyright © 2018–2020 MyBatis.org. All rights reserved.