Class AbstractBroadleafTagTextModifierProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafTagTextModifierProcessor
All Implemented Interfaces:
BroadleafProcessor, BroadleafTagTextModifierProcessor

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

    • AbstractBroadleafTagTextModifierProcessor

      public AbstractBroadleafTagTextModifierProcessor()
  • Method Details

    • textShouldBeProcessed

      public boolean textShouldBeProcessed()
      Specified by:
      textShouldBeProcessed in interface BroadleafTagTextModifierProcessor
      Returns:
      true if the text needs to be processed by the templating framework else false
    • 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