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 Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT_PREFIX
- See Also:
-
DEFAULT_PRECEDENCE
static final int DEFAULT_PRECEDENCE- See Also:
-
-
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
-