class DecorateProcessor extends AbstractAttributeModelProcessor
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, boolean autoHeadMerging)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, boolean autoHeadMerging, String attributeName)Constructor, configurable processor name for the purposes of the deprecated layout:decorator alias. |
| Type Params | Return 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 |
process, getMatchingElementName, getMatchingAttributeName, getTemplateMode, getPrecedence, 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