Class NewDifferenceEngine.CompareUnmatchedNodeMatcher

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface NodeMatcher