class AttributeMerger extends Object
Merges attributes from one element into another.
| Constructor and description |
|---|
AttributeMerger
(ITemplateContext context)Constructor, sets up the attribute merger context. |
Constructor, sets up the attribute merger context.
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.