Class PlexusXmlMerger
- java.lang.Object
-
- org.codehaus.plexus.metadata.merge.AbstractMerger
-
- org.codehaus.plexus.metadata.merge.PlexusXmlMerger
-
- All Implemented Interfaces:
Merger
@Component(role=Merger.class, hint="plexusXml") public class PlexusXmlMerger extends AbstractMerger
Plexus XML merger. This is a superset of the components xml merger so can be used in its place if necessary.- Author:
- Rahul Thakur
-
-
Constructor Summary
Constructors Constructor Description PlexusXmlMerger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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
-
-
-
-
Method Detail
-
merge
public org.jdom2.Document merge(org.jdom2.Document dDocument, org.jdom2.Document rDocument) throws MergeException
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.
-
-