Specifies the name of the template to decorate using the current template.
| Type | Name and description |
|---|---|
static String |
PROCESSOR_NAME |
static int |
PROCESSOR_PRECEDENCE |
| Constructor and description |
|---|
DecorateProcessor
(TemplateMode templateMode, String dialectPrefix, SortingStrategy sortingStrategy)Constructor, configure this processor to work on the 'decorate' attribute and to use the given sorting strategy. |
protected DecorateProcessor
(TemplateMode templateMode, String dialectPrefix, SortingStrategy sortingStrategy, String attributeName)Constructor, configurable processor name for the purposes of the deprecated layout:decorator alias. |
| Type | Name and description |
|---|---|
protected void |
doProcess(ITemplateContext context, IModel model, AttributeName attributeName, String attributeValue, IElementModelStructureHandler structureHandler)Locates the template to decorate and, once decorated, inserts it into the processing chain. |
| Methods inherited from class | Name |
|---|---|
class AbstractAttributeModelProcessor |
getMatchingElementName, process, getMatchingAttributeName, getPrecedence, getTemplateMode, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class AbstractElementModelProcessor |
getMatchingElementName, process, getMatchingAttributeName, getPrecedence, getTemplateMode, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor, configure this processor to work on the 'decorate' attribute and to use the given sorting strategy.
Constructor, configurable processor name for the purposes of the
deprecated layout:decorator alias.
Locates the template to decorate and, once decorated, inserts it into the processing chain.
Groovy Documentation