org.codehaus.plexus.cdc.merge
Class ComponentsXmlMerger

java.lang.Object
  extended by org.codehaus.plexus.cdc.merge.AbstractMerger
      extended by org.codehaus.plexus.cdc.merge.ComponentsXmlMerger
All Implemented Interfaces:
Merger

public class ComponentsXmlMerger
extends AbstractMerger

Version:
$Id: ComponentsXmlMerger.java 6564 2007-06-27 12:02:41Z kenney $
Author:
Rahul Thakur

Field Summary
 
Fields inherited from interface org.codehaus.plexus.cdc.merge.Merger
ROLE
 
Constructor Summary
ComponentsXmlMerger()
           
 
Method Summary
 org.jdom.Document merge(org.jdom.Document dDocument, org.jdom.Document rDocument)
          Merge with the recessive document.
 
Methods inherited from class org.codehaus.plexus.cdc.merge.AbstractMerger
writeMergedDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentsXmlMerger

public ComponentsXmlMerger()
Method Detail

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.