ch.elca.el4j.services.xmlmerge.matcher
Class SkipMatcher

java.lang.Object
  extended by ch.elca.el4j.services.xmlmerge.matcher.SkipMatcher
All Implemented Interfaces:
Matcher, Operation

public class SkipMatcher
extends Object
implements Matcher

Elements compared with this matcher never match.

Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
File-location:
SkipMatcher
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Constructor Summary
SkipMatcher()
           
 
Method Summary
 boolean matches(org.jdom.Element originalElement, org.jdom.Element patchElement)
          Compares two elements to know if they correspond for merging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkipMatcher

public SkipMatcher()
Method Detail

matches

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

Specified by:
matches in interface Matcher
Parameters:
originalElement - Original element
patchElement - Patch element
Returns:
True if the two elements correspond for merging


Copyright © 2005-2011 ELCA. All Rights Reserved.