@Component(value="blRelatedProductProcessor") public class RelatedProductProcessor extends AbstractModelVariableModifierProcessor
| Constructor and Description |
|---|
RelatedProductProcessor()
Sets the name of this processor to be used in Thymeleaf template
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Product> |
convertRelatedProductsToProducts(List<? extends PromotableProduct> relatedProducts) |
int |
getPrecedence() |
protected void |
modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
This method must be overriding by a processor that wishes to modify the model.
|
addToModel, processElementdoProcess, getMatcherpublic RelatedProductProcessor()
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
AbstractModelVariableModifierProcessormodifyModelAttributes in class AbstractModelVariableModifierProcessorprotected List<Product> convertRelatedProductsToProducts(List<? extends PromotableProduct> relatedProducts)
Copyright © 2014. All rights reserved.