Class SkipMatcher

java.lang.Object
ch.galinet.xml.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)
  • Constructor Details

    • SkipMatcher

      public SkipMatcher()
  • Method Details

    • matches

      public boolean matches(org.jdom2.Element originalElement, org.jdom2.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