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 booleanprivate booleanisDoctype(Comparison.Detail detail) private booleanisDocumentWithDocTypeDifference(Comparison comparison)
-
Constructor Details
-
IgnoreDoctypeNotPresentDifferences
private IgnoreDoctypeNotPresentDifferences()
-
-
Method Details
-
evaluate
Description copied from interface:DifferenceEvaluatorMay alter the outcome of a comparison.- Specified by:
evaluatein interfaceDifferenceEvaluator- Parameters:
comparison- the comparisonoutcome- the current outcome of the comparison- Returns:
- the new result of the comparison.
-
isDoctype
-
isDocumentWithDocTypeDifference
-
hasDoctypeChild
-