A processor whose only job is to initialize the layout context.
| Type | Name and description |
|---|---|
static int |
PROCESSOR_PRECEDENCE |
| Constructor and description |
|---|
ContextCreationProcessor
(TemplateMode templateMode)Constructor, sets the template mode of the processor. |
| Type | Name and description |
|---|---|
void |
doProcessTemplateEnd(ITemplateContext context, ITemplateEnd templateEnd, ITemplateBoundariesStructureHandler structureHandler)Does nothing. |
void |
doProcessTemplateStart(ITemplateContext context, ITemplateStart templateStart, ITemplateBoundariesStructureHandler structureHandler)Creates and sets the layout context on the template context so it's available everywhere else on the template. |
| Methods inherited from class | Name |
|---|---|
class AbstractTemplateBoundariesProcessor |
processTemplateStart, processTemplateEnd, doProcessTemplateStart, doProcessTemplateEnd, getPrecedence, getTemplateMode, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class AbstractProcessor |
getPrecedence, getTemplateMode, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor, sets the template mode of the processor.
Does nothing.
Creates and sets the layout context on the template context so it's available everywhere else on the template.
Groovy Documentation