public class MergeStrategies
extends java.lang.Object
TODO: Revisit and factor Mergeable.merge(Mergeable)
to use a MergeStrategy
.
Modifier and Type | Field | Description |
---|---|---|
static MergeStrategy |
DEEP |
MergeStrategy implementation wherein the elements are merged
down to the deepest available Mergeable instance in the DOM tree. |
static MergeStrategy |
SHALLOW |
MergeStrategy implementation wherein only the element on
which the merge operation is called is 'merged'. |
Constructor | Description |
---|---|
MergeStrategies() |
public static final MergeStrategy DEEP
MergeStrategy
implementation wherein the elements are merged
down to the deepest available Mergeable
instance in the DOM tree.public static final MergeStrategy SHALLOW
MergeStrategy
implementation wherein only the element on
which the merge operation is called is 'merged'. The merge does not
traverse the DOM tree any further.