Class ComponentsXmlMerger
java.lang.Object
org.codehaus.plexus.metadata.merge.AbstractMerger
org.codehaus.plexus.metadata.merge.ComponentsXmlMerger
- All Implemented Interfaces:
Merger
@Component(role=Merger.class,
hint="componentsXml")
public class ComponentsXmlMerger
extends AbstractMerger
- Author:
- Rahul Thakur
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jdom2.Document
merge
(org.jdom2.Document dDocument, org.jdom2.Document rDocument) Merge with the recessive document.Methods inherited from class org.codehaus.plexus.metadata.merge.AbstractMerger
mergeDescriptors, writeMergedDocument
-
Constructor Details
-
ComponentsXmlMerger
public ComponentsXmlMerger()
-
-
Method Details
-
merge
public org.jdom2.Document merge(org.jdom2.Document dDocument, org.jdom2.Document rDocument) throws MergeException Description copied from interface:Merger
Merge with the recessive document.- Parameters:
dDocument
- the dominant document.rDocument
- the recessive document.- Returns:
- the merged
Document
instance. - Throws:
MergeException
- if there was an error in merge.- See Also:
-