LibreOffice Module xmerge (master) 1
Public Member Functions | List of all members
org.openoffice.xmerge.merger.NodeMergeAlgorithm Interface Reference

This is an interface for a MergeAlgorithm to merge two Node objects. More...

Inheritance diagram for org.openoffice.xmerge.merger.NodeMergeAlgorithm:
[legend]

Public Member Functions

void merge (Node originalNode, Node modifyNode)
 This method is used to merge two given Node objects. More...
 

Detailed Description

This is an interface for a MergeAlgorithm to merge two Node objects.

It is an interface so that different merge algorithms may be plugged-in.

Definition at line 29 of file NodeMergeAlgorithm.java.

Member Function Documentation

◆ merge()

void org.openoffice.xmerge.merger.NodeMergeAlgorithm.merge ( Node  originalNode,
Node  modifyNode 
)

This method is used to merge two given Node objects.

Note: the original Node may be modified.

Parameters
originalNodeThe original Node.
modifyNodeThe Node to be merged. It may be modified.

Implemented in org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge, and org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.

Referenced by org.openoffice.xmerge.merger.merge.DocumentMerge.applyDifference().


The documentation for this interface was generated from the following file: