Class AbstractBroadleafModelModifierProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafModelModifierProcessor
All Implemented Interfaces:
BroadleafModelModifierProcessor, BroadleafProcessor

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

    • AbstractBroadleafModelModifierProcessor

      public AbstractBroadleafModelModifierProcessor()
  • Method Details

    • useSingleQuotes

      public boolean useSingleQuotes()
      Specified by:
      useSingleQuotes in interface BroadleafModelModifierProcessor
      Returns:
      true if the attribute values on the tag should be surrounded by single quotes or false if they should be surrounded by double quotes
    • reprocessModel

      public boolean reprocessModel()
      Specified by:
      reprocessModel in interface BroadleafModelModifierProcessor
      Returns:
      true if the model inserted as the last child should be reprocessed because it contains template logic or false if it shoudn't
    • 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