Package org.custommonkey.xmlunit
Class NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences
java.lang.Object
org.custommonkey.xmlunit.NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences
- All Implemented Interfaces:
DifferenceEvaluator
- Enclosing class:
NewDifferenceEngine
private static final class NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences
extends Object
implements DifferenceEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(Comparison comparison, ComparisonResult outcome) May alter the outcome of a comparison.private boolean
private boolean
isDoctype
(Comparison.Detail detail) private boolean
isDocumentWithDocTypeDifference
(Comparison comparison)
-
Constructor Details
-
IgnoreDoctypeNotPresentDifferences
private IgnoreDoctypeNotPresentDifferences()
-
-
Method Details
-
evaluate
Description copied from interface:DifferenceEvaluator
May alter the outcome of a comparison.- Specified by:
evaluate
in interfaceDifferenceEvaluator
- Returns:
- the new result of the comparison.
-
isDoctype
-
isDocumentWithDocTypeDifference
-
hasDoctypeChild
-