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)
This method must be overriding by a processor that wishes to modify the model.
|
addCollectionToExistingSet, addItemToExistingSet, addToModel, processElementdoProcess, getMatcherprotected RatingService ratingService
public RatingsProcessor()
public int getPrecedence()
getPrecedence in class AbstractModelVariableModifierProcessorprotected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
AbstractModelVariableModifierProcessormodifyModelAttributes in class AbstractModelVariableModifierProcessorCopyright © 2015. All rights reserved.