|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
public class IgnoreTextAndAttributeValuesDifferenceListener
Class to use when performing a Diff that only compares the structure of 2 pieces of XML, i.e. where the values of text and attribute nodes should be ignored.
Diff.overrideDifferenceListener(org.custommonkey.xmlunit.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 | |
---|---|
IgnoreTextAndAttributeValuesDifferenceListener()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IgnoreTextAndAttributeValuesDifferenceListener()
Method Detail |
---|
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
differ
DifferenceListener.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)
|
XMLUnit is hosted by sourceforge.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |