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)
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(org.w3c.dom.Node control, org.w3c.dom.Node test)
skippedComparison
in interface DifferenceListener
control
- the control node being comparedtest
- the test node being comparedDifferenceListener.skippedComparison(Node, Node)