Interface BroadleafProcessor

All Known Subinterfaces:
BroadleafAttributeModifierProcessor, BroadleafModelModifierProcessor, BroadleafTagReplacementProcessor, BroadleafTagTextModifierProcessor, BroadleafVariableModifierProcessor
All Known Implementing Classes:
AbstractBroadleafAttributeModifierProcessor, AbstractBroadleafModelModifierProcessor, AbstractBroadleafTagReplacementProcessor, AbstractBroadleafTagTextModifierProcessor, AbstractBroadleafVariableModifierProcessor

public interface BroadleafProcessor
Defines the base of what a template processor is in Broadleaf. A processor is a class that is ran when a keyword is found either as a tag name or attribute. The keyword is getPrefix() + ":" + getName().
Author:
Jay Aisenbrey (cja769)
  • Field Details

  • Method Details

    • getName

      String getName()
      Returns:
      The name part of the keyword that this class should be triggered on. The "price" part of blc:price
    • getPrecedence

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

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