Class PageLayoutAwareMerger
- java.lang.Object
-
- com.atlassian.confluence.util.diffs.PageLayoutAwareMerger
-
-
Constructor Summary
Constructors Constructor Description PageLayoutAwareMerger(Merger merger, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeResult
mergeContent(String base, String left, String right)
Merge the content provided.
-
-
-
Constructor Detail
-
PageLayoutAwareMerger
public PageLayoutAwareMerger(Merger merger, 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 interfaceMerger
- Parameters:
base
- common base for left and right strings.left
- branch 1 to merge inright
- 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.
-
-