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)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(org.jdom2.Element originalElement, org.jdom2.Element patchElement)
    Compares two elements to know if they correspond for merging.
  • Method Details

    • matches

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