com.atlassian.confluence.plugins.merge
Class TDMMerger

java.lang.Object
  extended by com.atlassian.confluence.plugins.merge.TDMMerger
All Implemented Interfaces:
Merger

public class TDMMerger
extends Object
implements Merger


Constructor Summary
TDMMerger(XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory)
           
 
Method Summary
 MergeResult mergeContent(String base, String left, String right)
          Merge the content provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TDMMerger

public TDMMerger(XmlEventReaderFactory xmlEventReaderFactory,
                 XMLOutputFactory xmlOutputFactory)
Method Detail

mergeContent

public MergeResult mergeContent(String base,
                                String left,
                                String right)
Description copied from interface: Merger
Merge the content provided.

Specified by:
mergeContent in interface Merger
Parameters:
base - common base for left and right strings.
left - branch 1 to merge in
right - branch 2 to merge in.
Returns:
the result of the merge. Note that implementations should never return null. If the merge failed the returned mergeresult should contain this information.


Copyright © 2003-2012 Atlassian. All Rights Reserved.