org.broadleafcommerce.core.web.processor
Class NamedOrderProcessor

java.lang.Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.element.AbstractElementProcessor
          extended by org.broadleafcommerce.common.web.dialect.AbstractModelVariableModifierProcessor
              extended by org.broadleafcommerce.core.web.processor.NamedOrderProcessor
All Implemented Interfaces:
Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor

public class NamedOrderProcessor
extends AbstractModelVariableModifierProcessor

A Thymeleaf processor that will add the desired named order to the model

Author:
elbertbautista

Constructor Summary
NamedOrderProcessor()
          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
 
Method Summary
 int getPrecedence()
           
protected  void modifyModelAttributes(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element)
           
 
Methods inherited from class org.broadleafcommerce.common.web.dialect.AbstractModelVariableModifierProcessor
addToModel, processElement
 
Methods inherited from class org.thymeleaf.processor.element.AbstractElementProcessor
doProcess, getMatcher
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedOrderProcessor

public NamedOrderProcessor()
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

Method Detail

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor

modifyModelAttributes

protected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
                                     org.thymeleaf.dom.Element element)
Specified by:
modifyModelAttributes in class AbstractModelVariableModifierProcessor


Copyright © 2012. All Rights Reserved.