Package org.xmlunit.diff
Interface NodeMatcher
-
- All Known Implementing Classes:
DefaultNodeMatcher
,NewDifferenceEngine.CompareUnmatchedNodeMatcher
public interface NodeMatcher
Strategy that matches control and tests nodes for comparison.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<java.util.Map.Entry<org.w3c.dom.Node,org.w3c.dom.Node>>
match(java.lang.Iterable<org.w3c.dom.Node> controlNodes, java.lang.Iterable<org.w3c.dom.Node> testNodes)
Matches control and test nodes against each other, returns the matching pairs.
-
-
-
Method Detail
-
match
java.lang.Iterable<java.util.Map.Entry<org.w3c.dom.Node,org.w3c.dom.Node>> match(java.lang.Iterable<org.w3c.dom.Node> controlNodes, java.lang.Iterable<org.w3c.dom.Node> testNodes)
Matches control and test nodes against each other, returns the matching pairs.Nodes passed in as attributes but not returned as member of any pair will cause
ComparisonType.CHILD_LOOKUP
differences}.
-
-