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.
(Diff prototype)Create a new instance based on a prototypical Diff instance
prototype- the Diff instance for which more detailed difference information is required
differenceFoundpublic int differenceFound
(Difference difference)DifferenceListener implementation. Add the difference to the list of all differences
- Specified by:
difference- a Difference instance as defined in
DifferenceConstantsdescribing the cause of the difference and containing the detail of the nodes that differ
- the value supplied by the superclass implementation
haltComparisonpublic boolean haltComparison
(Difference afterDifference)ComparisonController implementation.
getAllDifferencesObtain all the differences found by this instance
- a list of