Package org.appng.testsupport.validation
Class DifferenceHandler
- java.lang.Object
-
- org.appng.testsupport.validation.DifferenceHandler
-
- All Implemented Interfaces:
DifferenceListener
- Direct Known Subclasses:
AttributeValueDifferenceHandler
,DateFieldDifferenceHandler
,TextValueDifferenceHandler
,XPathDifferenceHandler
public abstract class DifferenceHandler extends Object implements DifferenceListener
A convenienceDifferenceListener
with an emptyskippedComparison(Node, Node)
-implementation.- Author:
- Matthias Müller
- See Also:
WritingXmlValidator.validateXml(org.appng.xml.BaseObject, String, DifferenceListener)
,WritingXmlValidator.validateXml(String, java.io.File, DifferenceListener)
,WritingXmlValidator.validateXml(String, String, DifferenceListener)
,WritingXmlValidator.validateXml(String, java.io.File, boolean, DifferenceListener)
,WritingXmlValidator.validateXml(String, String, boolean, DifferenceListener)
-
-
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
Constructors Constructor Description DifferenceHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
differenceFound(Difference difference)
void
skippedComparison(Node paramNode1, Node paramNode2)
Default (empty) implementation, may be overwritten.
-
-
-
Method Detail
-
differenceFound
public abstract int differenceFound(Difference difference)
- Specified by:
differenceFound
in interfaceDifferenceListener
-
skippedComparison
public void skippedComparison(Node paramNode1, Node paramNode2)
Default (empty) implementation, may be overwritten.- Specified by:
skippedComparison
in interfaceDifferenceListener
- See Also:
DifferenceListener.skippedComparison(Node, Node)
-
-