public class DetailedDiff extends Diff
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR, RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT| Constructor and Description |
|---|
DetailedDiff(Diff prototype)
Create a new instance based on a prototypical Diff instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
differenceFound(Difference difference)
DifferenceListener implementation.
|
List<Difference> |
getAllDifferences()
Obtain all the differences found by this instance
|
boolean |
haltComparison(Difference afterDifference)
ComparisonController implementation.
|
appendMessage, compare, evaluate, identical, overrideDifferenceListener, overrideElementQualifier, overrideMatchTracker, similar, skippedComparison, toStringpublic DetailedDiff(Diff prototype)
prototype - the Diff instance for which more detailed difference
information is requiredpublic int differenceFound(Difference difference)
differenceFound in interface DifferenceListenerdifferenceFound in class Diffdifference - a Difference instance as defined in DifferenceConstants describing the cause
of the difference and containing the detail of the nodes that
differpublic boolean haltComparison(Difference afterDifference)
haltComparison in interface ComparisonControllerhaltComparison in class DiffafterDifference - the last Difference passed to differenceFoundDifference.isRecoverable()public List<Difference> getAllDifferences()
differencesCopyright © 2001–2025 XMLUnit. All rights reserved.