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
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MergeStrategy
MergeStrategy
implementation wherein the elements are merged down to the deepest availableMergeable
instance in the DOM tree.static final MergeStrategy
MergeStrategy
implementation wherein only the element on which the merge operation is called is 'merged'. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEEP
MergeStrategy
implementation wherein the elements are merged down to the deepest availableMergeable
instance in the DOM tree. -
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.
-
-
Constructor Details
-
MergeStrategies
public MergeStrategies()
-