Package org.custommonkey.xmlunit
Class NewDifferenceEngine.CompareUnmatchedNodeMatcher
- java.lang.Object
-
- org.custommonkey.xmlunit.NewDifferenceEngine.CompareUnmatchedNodeMatcher
-
- All Implemented Interfaces:
NodeMatcher
- Enclosing class:
- NewDifferenceEngine
private static class NewDifferenceEngine.CompareUnmatchedNodeMatcher extends java.lang.Object implements NodeMatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
NewDifferenceEngine.CompareUnmatchedNodeMatcher.Entry
-
Field Summary
Fields Modifier and Type Field Description private NodeMatcher
nestedMatcher
-
Constructor Summary
Constructors Modifier Constructor Description private
CompareUnmatchedNodeMatcher(NodeMatcher nested)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
nestedMatcher
private final NodeMatcher nestedMatcher
-
-
Constructor Detail
-
CompareUnmatchedNodeMatcher
private CompareUnmatchedNodeMatcher(NodeMatcher nested)
-
-
Method Detail
-
match
public 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)
Description copied from interface:NodeMatcher
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}.- Specified by:
match
in interfaceNodeMatcher
-
-