class LayoutDialect extends AbstractProcessorDialect
A dialect for Thymeleaf that lets you build layouts and reusable templates in order to improve code reuse
| Type | Name and description |
|---|---|
static String |
DIALECT_NAME |
static int |
DIALECT_PRECEDENCE |
static String |
DIALECT_PREFIX |
| Constructor and description |
|---|
LayoutDialect(SortingStrategy sortingStrategy, boolean autoHeadMerging)Constructor, configure the layout dialect. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Set<IProcessor> |
getProcessors(String dialectPrefix)Returns the layout dialect's processors. |
| Methods inherited from class | Name |
|---|---|
class AbstractProcessorDialect |
getPrefix, getDialectProcessorPrecedence, getName, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getProcessors |
Constructor, configure the layout dialect.
autoHeadMerging
- Experimental option, set to false to skip the automatic merging
of an HTML <head> section.Returns the layout dialect's processors.
Groovy Documentation