Class DetailedDiff

java.lang.Object
org.custommonkey.xmlunit.Diff
org.custommonkey.xmlunit.DetailedDiff
All Implemented Interfaces:
ComparisonController, DifferenceListener

public class DetailedDiff extends Diff
Compares and describes all the differences between two XML documents. The document comparison does not stop once the first unrecoverable difference is found, unlike the Diff class. Note that because the differences are described relative to some control XML the list of all differences when A is compared to B will not necessarily be the same as when B is compared to A.
  • Field Details

  • Constructor Details

    • DetailedDiff

      public DetailedDiff(Diff prototype)
      Create a new instance based on a prototypical Diff instance
      Parameters:
      prototype - the Diff instance for which more detailed difference information is required
  • Method Details