class HtmlDocumentDecorator extends XmlDocumentDecorator
A decorator made to work over an HTML document. Decoration for a document
involves 2 sub-decorators: a special one for the <head> element, and
a standard one for the <body> element.
| Type | Name and description |
|---|---|
boolean |
autoHeadMerging |
SortingStrategy |
sortingStrategy |
| Constructor and description |
|---|
HtmlDocumentDecorator(ITemplateContext context, SortingStrategy sortingStrategy, boolean autoHeadMerging)Constructor, builds a decorator with the given configuration. |
Constructor, builds a decorator with the given configuration.
Groovy Documentation