Package ch.galinet.xml.xmlmerge.action
Class InsertAction
java.lang.Object
ch.galinet.xml.xmlmerge.action.InsertAction
Copies the patch element into the output by inserting it after already
existing elements of the same name. Usually applied with the
SkipMatcher.- 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
-
InsertAction
public InsertAction()
-
-
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.
-