@Component(value="blRatingsProcessor") public class RatingsProcessor extends AbstractModelVariableModifierProcessor
| Modifier and Type | Field and Description |
|---|---|
protected RatingService |
ratingService |
| Constructor and Description |
|---|
RatingsProcessor()
Sets the name of this processor to be used in Thymeleaf template
NOTE: Thymeleaf normalizes the attribute names by converting all to lower-case
we will use the underscore instead of camel case to avoid confusion
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
protected void |
modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element) |
addToModel, processElementdoProcess, getMatcherprotected RatingService ratingService
public RatingsProcessor()
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
modifyModelAttributes in class AbstractModelVariableModifierProcessorCopyright © 2013. All Rights Reserved.