Marks sections of the template that can be replaced by sections in the content template (if decorating) or passed along to included pages (if including), which share the same name.
| Type | Name and description |
|---|---|
static String |
PROCESSOR_NAME_FRAGMENT |
int |
precedence |
| Constructor and description |
|---|
FragmentProcessor
()Constructor, sets this processor to work on the 'fragment' attribute. |
| Type | Name and description |
|---|---|
protected ProcessorResult |
processAttribute(Arguments arguments, Element element, String attributeName)Includes or replaces the content of fragments into the corresponding fragment placeholder. |
| Methods inherited from class | Name |
|---|---|
class AbstractAttrProcessor |
getMatcher, compareTo, compareTo, process, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class AbstractProcessor |
compareTo, compareTo, process, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getMatcher |
Constructor, sets this processor to work on the 'fragment' attribute.
Includes or replaces the content of fragments into the corresponding fragment placeholder.
Groovy Documentation