ch.elca.el4j.services.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)
File-location:
OperationFactory
Last check-in date:
2009-08-04 15:22:05 +0200 (Di, 04. Aug 2009) by swismer for revision 3881

Method Summary
 Operation getOperation(org.jdom.Element originalElement, org.jdom.Element modifiedElement)
          Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs.
 

Method Detail

getOperation

Operation getOperation(org.jdom.Element originalElement,
                       org.jdom.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 element
modifiedElement - Modified element
Returns:
The operation (action, mapper or matcher) for the given element pair
Throws:
AbstractXmlMergeException - If an error occurs during operation creation


Copyright © 2005-2011 ELCA. All Rights Reserved.