Package ch.galinet.xml.xmlmerge
Interface Action
- All Superinterfaces:
Operation
- All Known Subinterfaces:
MergeAction
- All Known Implementing Classes:
AbstractMergeAction,CompleteAction,DeleteAction,InsertAction,OrderedMergeAction,OverrideAction,PreserveAction,ReplaceAction,XsdInsertAction
Operation on two nodes creating a third node.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
-
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.
-
Method Details
-
perform
void perform(org.jdom2.Element originalElement, org.jdom2.Element patchElement, org.jdom2.Element outputParentElement) throws AbstractXmlMergeException 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.- Parameters:
originalElement- Original elementpatchElement- Patch elementoutputParentElement- Output parent element- Throws:
AbstractXmlMergeException
-