public class IgnoreTextAndAttributeValuesDifferenceListener extends Object implements DifferenceListener
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR, RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT| Constructor and Description |
|---|
IgnoreTextAndAttributeValuesDifferenceListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
differenceFound(Difference difference)
Receive notification that 2 nodes are different.
|
void |
skippedComparison(Node control,
Node test)
Do nothing
|
public IgnoreTextAndAttributeValuesDifferenceListener()
public int differenceFound(Difference difference)
DifferenceListenerdifferenceFound in interface DifferenceListenerdifference - a Difference instance as defined in DifferenceConstants describing the cause
of the difference and containing the detail of the nodes that
differDifferenceListener.differenceFound(Difference)public void skippedComparison(Node control, Node test)
skippedComparison in interface DifferenceListenercontrol - the control node being comparedtest - the test node being comparedDifferenceListener.skippedComparison(Node, Node)Copyright © 2001–2020 XMLUnit. All rights reserved.