ch.elca.el4j.services.xmlmerge.action
Class InsertAction
java.lang.Object
ch.elca.el4j.services.xmlmerge.action.InsertAction
- All Implemented Interfaces:
- Action, Operation
public class InsertAction
- extends Object
- implements Action
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)
- File-location:
- InsertAction
- Last check-in date:
- 2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878
Method Summary |
void |
perform(org.jdom.Element originalElement,
org.jdom.Element patchElement,
org.jdom.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertAction
public InsertAction()
perform
public void perform(org.jdom.Element originalElement,
org.jdom.Element patchElement,
org.jdom.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.
- Specified by:
perform
in interface Action
- Parameters:
originalElement
- Original elementpatchElement
- Patch elementoutputParentElement
- Output parent element
Copyright © 2005-2011 ELCA. All Rights Reserved.