Package ch.galinet.xml.xmlmerge
Interface OperationFactory
- All Known Implementing Classes:
AttributeOperationFactory,DiffOperationFactory,StaticOperationFactory,XPathOperationFactory
public interface OperationFactory
Creates operation (action, mapper and matcher) instances corresponding to a
pair of elements from the original and patch DOMs.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
-
Method Summary
Modifier and TypeMethodDescriptiongetOperation(org.jdom2.Element originalElement, org.jdom2.Element modifiedElement) Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs.
-
Method Details
-
getOperation
Operation getOperation(org.jdom2.Element originalElement, org.jdom2.Element modifiedElement) throws AbstractXmlMergeException Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs.- Parameters:
originalElement- Original elementmodifiedElement- Modified element- Returns:
- The operation (action, mapper or matcher) for the given element pair
- Throws:
AbstractXmlMergeException- If an error occurs during operation creation
-