Class NewDifferenceEngine.ComparisonController2ComparisonController

java.lang.Object
org.custommonkey.xmlunit.NewDifferenceEngine.ComparisonController2ComparisonController
All Implemented Interfaces:
ComparisonController
Enclosing class:
NewDifferenceEngine

public static class NewDifferenceEngine.ComparisonController2ComparisonController extends Object implements ComparisonController
Adapts XMLUnit 1.x ComparisonController to XMLUnit 2.x ComparisonController.
  • Constructor Details

    • ComparisonController2ComparisonController

      public ComparisonController2ComparisonController(ComparisonController c)
      Parameters:
      c - ComparisonController to adapt.
  • Method Details

    • stopDiffing

      public boolean stopDiffing(Difference difference)
      Description copied from interface: ComparisonController
      May instruct the difference engine to stop the whole comparison process.
      Specified by:
      stopDiffing in interface ComparisonController
      Parameters:
      difference - the Difference that is responsible for stopping the comparison process
      Returns:
      whether to stop the comparison process