ch.elca.el4j.services.xmlmerge
Interface Matcher

All Superinterfaces:
Operation
All Known Implementing Classes:
IdMatcher, SkipMatcher, TagMatcher

public interface Matcher
extends Operation

Compares two elements to know if they correspond for merging.

Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
File-location:
Matcher
Last check-in date:
2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880

Method Summary
 boolean matches(org.jdom.Element originalElement, org.jdom.Element patchElement)
          Compares two elements to know if they correspond for merging.
 

Method Detail

matches

boolean matches(org.jdom.Element originalElement,
                org.jdom.Element patchElement)
Compares two elements to know if they correspond for merging.

Parameters:
originalElement - Original element
patchElement - Patch element
Returns:
True if the two elements correspond for merging


Copyright © 2005-2011 ELCA. All Rights Reserved.