private static final class NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences extends java.lang.Object implements DifferenceEvaluator
Modifier | Constructor and Description |
---|---|
private |
IgnoreDoctypeNotPresentDifferences() |
Modifier and Type | Method and Description |
---|---|
ComparisonResult |
evaluate(Comparison comparison,
ComparisonResult outcome)
May alter the outcome of a comparison.
|
private boolean |
hasDoctypeChild(org.w3c.dom.Node n) |
private boolean |
isDoctype(Comparison.Detail detail) |
private boolean |
isDocumentWithDocTypeDifference(Comparison comparison) |
public ComparisonResult evaluate(Comparison comparison, ComparisonResult outcome)
DifferenceEvaluator
evaluate
in interface DifferenceEvaluator
private boolean isDoctype(Comparison.Detail detail)
private boolean isDocumentWithDocTypeDifference(Comparison comparison)
private boolean hasDoctypeChild(org.w3c.dom.Node n)