org.codehaus.plexus.metadata.merge
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
- Version:
- $Id: ComponentsXmlMerger.java 8174 2009-05-11 15:15:23Z jvanzyl $
- Author:
- Rahul Thakur
Fields inherited from interface org.codehaus.plexus.metadata.merge.Merger |
ROLE |
Method Summary |
org.jdom.Document |
merge(org.jdom.Document dDocument,
org.jdom.Document rDocument)
Merge with the recessive document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentsXmlMerger
public ComponentsXmlMerger()
merge
public org.jdom.Document merge(org.jdom.Document dDocument,
org.jdom.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:
Merger.merge(Document, Document)
Copyright © 2001-2011 Codehaus. All Rights Reserved.