public class MergeStrategies extends Object
TODO: Revisit and factor Mergeable.merge(Mergeable)
to use a MergeStrategy
.
Modifier and Type | Field and 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 and 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.Copyright © 2001-2013 Codehaus. All Rights Reserved.