@Component(value="blSamplePaymentGatewayHostedActionProcessor")
public class SamplePaymentGatewayHostedActionProcessor
extends org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor
A Thymeleaf processor that will generate a Mock Hosted Link given a passed in PaymentRequestDTO.
In order to use this sample processor, you will need to component scan
the package "com.broadleafcommerce".
This should NOT be used in production, and is meant solely for demonstration
purposes only.| Constructor and Description |
|---|
SamplePaymentGatewayHostedActionProcessor()
Sets the name of this processor to be used in Thymeleaf template
|
| Modifier and Type | Method and Description |
|---|---|
protected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName) |
protected Map<String,String> |
getModifiedAttributeValues(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
int |
getPrecedence() |
protected boolean |
recomputeProcessorsAfterExecution(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
protected boolean |
removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName) |
doAdditionalProcess, processAttribute, shouldRemoveAttributedoProcess, getMatcherpublic SamplePaymentGatewayHostedActionProcessor()
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected Map<String,String> getModifiedAttributeValues(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
getModifiedAttributeValues in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessorprotected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
getModificationType in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessorprotected boolean removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
removeAttributeIfEmpty in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessorprotected boolean recomputeProcessorsAfterExecution(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
recomputeProcessorsAfterExecution in class org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessorCopyright © 2016. All rights reserved.