LibreOffice Module xmerge (master) 1
|
This is the MergeAlgorithm
interface.
More...
Public Member Functions | |
void | applyDifference (Iterator orgSeq, Iterator modSeq, Difference[] differences) throws MergeException |
This method is to merge the difference to an Iterator . More... | |
This is the MergeAlgorithm
interface.
It is an interface so that different merge algorithms may be plugged-in to actually merge the diffs back to an original document.
Definition at line 29 of file MergeAlgorithm.java.
void org.openoffice.xmerge.merger.MergeAlgorithm.applyDifference | ( | Iterator | orgSeq, |
Iterator | modSeq, | ||
Difference[] | differences | ||
) | throws MergeException |
This method is to merge the difference to an Iterator
.
The original Iterator
will be modified after the call.
orgSeq | The original sequence which the difference will be applied. It will be modified. |
modSeq | The modified sequence where the difference content will be extracted. |
differences | The Difference array. |
MergeException | If an error occurs during the merge. |
Implemented in org.openoffice.xmerge.merger.merge.DocumentMerge.
Referenced by org.openoffice.xmerge.converter.xml.sxc.DocumentMergerImpl.merge().