Class AbstractBroadleafAttributeModifierProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
All Implemented Interfaces:
BroadleafAttributeModifierProcessor, BroadleafProcessor

public abstract class AbstractBroadleafAttributeModifierProcessor extends Object implements BroadleafAttributeModifierProcessor
Default implementation of BroadleafAttributeModifierProcessor that provides some defaults
Author:
Jay Aisenbrey (cja769)
  • Constructor Details

    • AbstractBroadleafAttributeModifierProcessor

      public AbstractBroadleafAttributeModifierProcessor()
  • Method Details

    • useSingleQuotes

      public boolean useSingleQuotes()
      Specified by:
      useSingleQuotes in interface BroadleafAttributeModifierProcessor
      Returns:
      true if the new attribute's values should be surrounded by single quotes and false if they should be surrounded by double quotes
    • getPrecedence

      public int getPrecedence()
      Specified by:
      getPrecedence in interface BroadleafProcessor
      Returns:
      When this processor should be ran in relation to other processors in the dialect. Runs from smallest number to largest
    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface BroadleafProcessor
      Returns:
      The prefix that should be prepended to the name for the class to be triggered on. The "blc" part of blc:price