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, toString
public DetailedDiff(Diff prototype)
prototype
- the Diff instance for which more detailed difference
information is requiredpublic int differenceFound(Difference difference)
differenceFound
in interface DifferenceListener
differenceFound
in class Diff
difference
- public boolean haltComparison(Difference afterDifference)
haltComparison
in interface ComparisonController
haltComparison
in class Diff
afterDifference
- Difference.isRecoverable()
public List<Difference> getAllDifferences()
differences
Copyright © 2001–2017 XMLUnit. All rights reserved.