Class AbstractBroadleafAttributeModifierProcessor
java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
- All Implemented Interfaces:
BroadleafAttributeModifierProcessor,BroadleafProcessor
public abstract class AbstractBroadleafAttributeModifierProcessor
extends Object
implements BroadleafAttributeModifierProcessor
Default implementation of
BroadleafAttributeModifierProcessor 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.BroadleafAttributeModifierProcessor
getModifiedAttributesMethods inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
getName
-
Constructor Details
-
AbstractBroadleafAttributeModifierProcessor
public AbstractBroadleafAttributeModifierProcessor()
-
-
Method Details
-
useSingleQuotes
public boolean useSingleQuotes()- Specified by:
useSingleQuotesin interfaceBroadleafAttributeModifierProcessor- Returns:
- true if the new attribute's values should be surrounded by single quotes and false if they should be surrounded by double quotes
-
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
-