Package org.custommonkey.xmlunit
Interface ComparisonController
- All Known Implementing Classes:
DetailedDiff
,Diff
public interface ComparisonController
Callback interface used by DifferenceEngine to determine whether to halt the
node-by-node comparison of two pieces of XML
-
Method Summary
Modifier and TypeMethodDescriptionboolean
haltComparison
(Difference afterDifference) Determine whether a Difference that the listener has been notified of should halt further XML comparison.
-
Method Details
-
haltComparison
Determine whether a Difference that the listener has been notified of should halt further XML comparison. Default behaviour for a Diff instance is to halt if the Difference is not recoverable.- Parameters:
afterDifference
- the last Difference passed todifferenceFound
- Returns:
- true to halt further comparison, false otherwise
- See Also:
-