public class IgnoreTextAndAttributeValuesDifferenceListener extends java.lang.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(org.w3c.dom.Node control,
org.w3c.dom.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(org.w3c.dom.Node control,
org.w3c.dom.Node test)
skippedComparison in interface DifferenceListenercontrol - the control node being comparedtest - the test node being comparedDifferenceListener.skippedComparison(Node, Node)