Package org.custommonkey.xmlunit
Class NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
java.lang.Object
org.custommonkey.xmlunit.NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
- All Implemented Interfaces:
DifferenceEvaluator
- Enclosing class:
- NewDifferenceEngine
public static class NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
extends Object
implements DifferenceEvaluator
Adapts XMLUnit 1.x DifferenceListener to XMLUnit 2.x DifferenceEvaluator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(Comparison comparison, ComparisonResult outcome) May alter the outcome of a comparison.
-
Constructor Details
-
DifferenceListener2DifferenceEvaluator
- Parameters:
dl
- DifferenceListener to adapt
-
-
Method Details
-
evaluate
Description copied from interface:DifferenceEvaluator
May alter the outcome of a comparison.- Specified by:
evaluate
in interfaceDifferenceEvaluator
- Parameters:
comparison
- the comparisonoutcome
- the current outcome of the comparison- Returns:
- the new result of the comparison.
-