@TupleConstructor(defaults: false) class AttributeMerger extends Object implements ModelMerger
Merges attributes from one element into another.
| Type | Name and description |
|---|---|
ITemplateContext |
context |
| Constructor and description |
|---|
AttributeMerger() |
Merge the attributes of the source element with those of the target
element. This is basically a copy of all attributes in the source model
with those in the target model, overwriting any attributes that have the
same name, except for the case of th:with where variable
declarations are preserved, only overwriting same-named declarations.
Groovy Documentation