Interface DifferenceEngineContract

    • Method Detail

      • setMatchTracker

        void setMatchTracker​(MatchTracker matchTracker)
        Parameters:
        matchTracker - the instance that is notified on each successful match. May be null.
      • compare

        void compare​(org.w3c.dom.Node control,
                     org.w3c.dom.Node test,
                     DifferenceListener listener,
                     ElementQualifier elementQualifier)
        Entry point for Node comparison testing.
        Parameters:
        control - Control XML to compare
        test - Test XML to compare
        listener - Notified of any differences detected during node comparison testing
        elementQualifier - Used to determine which elements qualify for comparison e.g. when a node has repeated child elements that may occur in any sequence and that sequence is not considered important.