Class MergeStrategies
- java.lang.Object
-
- org.codehaus.plexus.metadata.merge.support.MergeStrategies
-
public class MergeStrategies extends Object
Collection of available Merge Strategies.TODO: Revisit and factor
Mergeable.merge(Mergeable)
to use aMergeStrategy
.- Author:
- Rahul Thakur
-
-
Field Summary
Fields Modifier and Type Field Description static MergeStrategy
DEEP
MergeStrategy
implementation wherein the elements are merged down to the deepest availableMergeable
instance in the DOM tree.static MergeStrategy
SHALLOW
MergeStrategy
implementation wherein only the element on which the merge operation is called is 'merged'.
-
Constructor Summary
Constructors Constructor Description MergeStrategies()
-
-
-
Field Detail
-
DEEP
public static final MergeStrategy DEEP
MergeStrategy
implementation wherein the elements are merged down to the deepest availableMergeable
instance in the DOM tree.
-
SHALLOW
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.
-
-