org.custommonkey.xmlunit

Interface ComparisonController

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
booleanhaltComparison(Difference afterDifference)
Determine whether a Difference that this listener has been notified of should halt further XML comparison.

Method Detail

haltComparison

public boolean haltComparison(Difference afterDifference)
Determine whether a Difference that this 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 to differenceFound

Returns: true to halt further comparison, false otherwise

See Also: Difference