Package ch.galinet.xml.xmlmerge.action
Class OverrideAction
java.lang.Object
ch.galinet.xml.xmlmerge.action.OverrideAction
Copies the patch element if it exist in the original, keep the original if no
corresponding patch element exists.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(org.jdom2.Element originalElement, org.jdom2.Element patchElement, org.jdom2.Element outputParentElement) Out of an original element and a second element provided by the patch DOM, applies an operation and modifies the parent node of the result DOM.
-
Constructor Details
-
OverrideAction
public OverrideAction()
-
-
Method Details
-
perform
public void perform(org.jdom2.Element originalElement, org.jdom2.Element patchElement, org.jdom2.Element outputParentElement) Out of an original element and a second element provided by the patch DOM, applies an operation and modifies the parent node of the result DOM.
-