Class PageLayoutAwareMerger
java.lang.Object
com.atlassian.confluence.util.diffs.PageLayoutAwareMerger
- All Implemented Interfaces:
Merger
-
Constructor Summary
ConstructorsConstructorDescriptionPageLayoutAwareMerger(Merger merger, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory) -
Method Summary
Modifier and TypeMethodDescriptionmergeContent(String base, String left, String right) Merge the content provided.
-
Constructor Details
-
PageLayoutAwareMerger
public PageLayoutAwareMerger(Merger merger, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory)
-
-
Method Details
-
mergeContent
Description copied from interface:MergerMerge the content provided.- Specified by:
mergeContentin 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.
-