Interface Action

All Superinterfaces:
Operation
All Known Subinterfaces:
MergeAction
All Known Implementing Classes:
AbstractMergeAction, CompleteAction, DeleteAction, InsertAction, OrderedMergeAction, OverrideAction, PreserveAction, ReplaceAction, XsdInsertAction

public interface Action extends Operation
Operation on two nodes creating a third node.
Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 element
      patchElement - Patch element
      outputParentElement - Output parent element
      Throws:
      AbstractXmlMergeException