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)
DifferenceListener
differenceFound
in interface DifferenceListener
difference
- 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 DifferenceListener
control
- the control node being comparedtest
- the test node being comparedDifferenceListener.skippedComparison(Node, Node)
Copyright © 2001–2020 XMLUnit. All rights reserved.