Package org.xmlunit.diff
Interface NodeMatcher
- All Known Implementing Classes:
DefaultNodeMatcher
public interface NodeMatcher
Strategy that matches control and tests nodes for comparison.
-
Method Summary
-
Method Details
-
match
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}.- Parameters:
controlNodes
- the control nodestestNodes
- the test nodes- Returns:
- a Map.Entry containing the pair for each matched pair of nodes
-