org.broadleafcommerce.cms.web.processor
Class ContentProcessor

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.cms.web.processor.ContentProcessor
All Implemented Interfaces:
Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor

@Component(value="blContentProcessor")
public class ContentProcessor
extends AbstractModelVariableModifierProcessor

Processor used to display structured content that is maintained with the Broadleaf CMS. Usage based on the following attributes:


Field Summary
static String BLC_RULE_MAP_PARAM
           
protected  org.apache.commons.logging.Log LOG
           
static String REQUEST_DTO
           
 
Constructor Summary
ContentProcessor()
          Sets the name of this processor to be used in Thymeleaf template
 
Method Summary
 int getPrecedence()
           
protected  void initServices(org.thymeleaf.Arguments arguments)
           
 boolean isSecure(javax.servlet.http.HttpServletRequest request)
           
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
 

Field Detail

LOG

protected final org.apache.commons.logging.Log LOG

REQUEST_DTO

public static final String REQUEST_DTO
See Also:
Constant Field Values

BLC_RULE_MAP_PARAM

public static final String BLC_RULE_MAP_PARAM
See Also:
Constant Field Values
Constructor Detail

ContentProcessor

public ContentProcessor()
Sets the name of this processor to be used in Thymeleaf template

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

initServices

protected void initServices(org.thymeleaf.Arguments arguments)

isSecure

public boolean isSecure(javax.servlet.http.HttpServletRequest request)


Copyright © 2013. All Rights Reserved.