class FragmentProcessor extends AbstractAttributeTagProcessor
This processor serves a dual purpose: to mark sections of the template that can be replaced, and to do the replacing when they're encountered.
| Type | Name and description |
|---|---|
static String |
PROCESSOR_NAME |
static int |
PROCESSOR_PRECEDENCE |
| Constructor and description |
|---|
FragmentProcessor(TemplateMode templateMode, String dialectPrefix)Constructor, sets this processor to work on the 'fragment' attribute. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)Inserts the content of fragments into the encountered fragment placeholder. |
| Methods inherited from class | Name |
|---|---|
class AbstractAttributeTagProcessor |
process, getMatchingElementName, getMatchingAttributeName, getTemplateMode, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor, sets this processor to work on the 'fragment' attribute.
Inserts the content of fragments into the encountered fragment placeholder.
Groovy Documentation