Class AbstractBroadleafModelModifierProcessor
java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafModelModifierProcessor
- All Implemented Interfaces:
BroadleafModelModifierProcessor,BroadleafProcessor
public abstract class AbstractBroadleafModelModifierProcessor
extends Object
implements BroadleafModelModifierProcessor
Default implementation of
BroadleafModelModifierProcessor 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 TypeMethodDescriptionintbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafModelModifierProcessor
getInjectedModelAndTagAttributesMethods inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
getName
-
Constructor Details
-
AbstractBroadleafModelModifierProcessor
public AbstractBroadleafModelModifierProcessor()
-
-
Method Details
-
useSingleQuotes
public boolean useSingleQuotes()- Specified by:
useSingleQuotesin interfaceBroadleafModelModifierProcessor- Returns:
- true if the attribute values on the tag should be surrounded by single quotes or false if they should be surrounded by double quotes
-
reprocessModel
public boolean reprocessModel()- Specified by:
reprocessModelin interfaceBroadleafModelModifierProcessor- Returns:
- true if the model inserted as the last child should be reprocessed because it contains template logic or false if it shoudn't
-
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
-