Package ch.galinet.xml.xmlmerge.matcher
Class IdMatcher
java.lang.Object
ch.galinet.xml.xmlmerge.matcher.IdMatcher
Elements match if their name and 'id' attribute are the same.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.jdom2.Element originalElement, org.jdom2.Element patchElement) Compares two elements to know if they correspond for merging.
-
Constructor Details
-
IdMatcher
public IdMatcher()
-
-
Method Details
-
matches
public boolean matches(org.jdom2.Element originalElement, org.jdom2.Element patchElement) Compares two elements to know if they correspond for merging.
-