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)
-
Field Summary
Fields inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
DEFAULT_PRECEDENCE, DEFAULT_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
getNameMethods inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafTagTextModifierProcessor
getTagText
-
Constructor Details
-
AbstractBroadleafTagTextModifierProcessor
public AbstractBroadleafTagTextModifierProcessor()
-
-
Method Details
-
textShouldBeProcessed
public boolean textShouldBeProcessed()- Specified by:
textShouldBeProcessedin interfaceBroadleafTagTextModifierProcessor- Returns:
- true if the text needs to be processed by the templating framework else false
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein interfaceBroadleafProcessor- Returns:
- When this processor should be ran in relation to other processors in the dialect. Runs from smallest number to largest
-
getPrefix
- Specified by:
getPrefixin interfaceBroadleafProcessor- Returns:
- The prefix that should be prepended to the name for the class to be triggered on.
The "blc" part of
blc:price
-