Class CaseInsensitiveDifferenceListener
java.lang.Object
org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
org.custommonkey.xmlunit.examples.CaseInsensitiveDifferenceListener
- All Implemented Interfaces:
DifferenceListener
Ignores case for all textual content.
-
Field Summary
Fields inherited from interface org.custommonkey.xmlunit.DifferenceListener
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR, RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT
-
Constructor Summary
ConstructorDescriptionCaseInsensitiveDifferenceListener
(DifferenceListener delegateTo) Creates a new instance -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Delegates to the nested DifferenceListener.Methods inherited from class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
attributeDifference, cdataDifference, commentDifference, differenceFound, skippedComparison, textDifference
-
Constructor Details
-
CaseInsensitiveDifferenceListener
Creates a new instance- Parameters:
delegateTo
- the DifferenceListener to delegate to.
-
-
Method Details
-
textualDifference
Description copied from class:TextDifferenceListenerBase
Delegates to the nested DifferenceListener.- Overrides:
textualDifference
in classTextDifferenceListenerBase
- Parameters:
d
- the difference- Returns:
- int one of the RETURN_... constants describing how this difference was interpreted
-