Uses of Interface
org.xmlunit.diff.DifferenceEvaluator
-
Packages that use DifferenceEvaluator Package Description org.xmlunit.builder Provides fluent builders for core parts of XMLUnit.org.xmlunit.diff Contains XMLUnitDifferenceEnginethat is at the heart of all comparisons as well as supporting interfaces and implementations. -
-
Uses of DifferenceEvaluator in org.xmlunit.builder
Methods in org.xmlunit.builder with parameters of type DifferenceEvaluator Modifier and Type Method Description DiffBuilderDiffBuilder. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)Provide your own customDifferenceEvaluatorimplementation.DDifferenceEngineConfigurer. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)Provide your own customDifferenceEvaluatorimplementation. -
Uses of DifferenceEvaluator in org.xmlunit.diff
Fields in org.xmlunit.diff declared as DifferenceEvaluator Modifier and Type Field Description static DifferenceEvaluatorDifferenceEvaluators. AcceptDifference evaluator that just echos the result passed in.static DifferenceEvaluatorDifferenceEvaluators. DefaultThe "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.Methods in org.xmlunit.diff that return DifferenceEvaluator Modifier and Type Method Description static DifferenceEvaluatorDifferenceEvaluators. chain(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluatorDifferenceEvaluators. downgradeDifferencesToEqual(ComparisonType... types)Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.static DifferenceEvaluatorDifferenceEvaluators. downgradeDifferencesToSimilar(ComparisonType... types)Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.static DifferenceEvaluatorDifferenceEvaluators. first(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.protected DifferenceEvaluatorAbstractDifferenceEngine. getDifferenceEvaluator()Provides access to the configured DifferenceEvaluator.static DifferenceEvaluatorDifferenceEvaluators. ignorePrologDifferences()Ignore any differences that are part of the XML prolog.static DifferenceEvaluatorDifferenceEvaluators. ignorePrologDifferencesExceptDoctype()Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.static DifferenceEvaluatorDifferenceEvaluators. upgradeDifferencesToDifferent(ComparisonType... types)Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.Methods in org.xmlunit.diff with parameters of type DifferenceEvaluator Modifier and Type Method Description static DifferenceEvaluatorDifferenceEvaluators. chain(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluatorDifferenceEvaluators. first(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.voidAbstractDifferenceEngine. setDifferenceEvaluator(DifferenceEvaluator e)voidDifferenceEngine. setDifferenceEvaluator(DifferenceEvaluator e)Evaluates the severity of a difference.
-