Class MergeStrategies
java.lang.Object
org.codehaus.plexus.metadata.merge.support.MergeStrategies
Collection of available Merge Strategies.
TODO: Revisit and factor Mergeable.merge(Mergeable) to use a MergeStrategy.
- Author:
- Rahul Thakur
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MergeStrategyMergeStrategyimplementation wherein the elements are merged down to the deepest availableMergeableinstance in the DOM tree.static final MergeStrategyMergeStrategyimplementation wherein only the element on which the merge operation is called is 'merged'. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEEP
MergeStrategyimplementation wherein the elements are merged down to the deepest availableMergeableinstance in the DOM tree. -
SHALLOW
MergeStrategyimplementation wherein only the element on which the merge operation is called is 'merged'. The merge does not traverse the DOM tree any further.
-
-
Constructor Details
-
MergeStrategies
public MergeStrategies()
-