|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DifferenceListener
Listener for callbacks from a
DifferenceEngine comparison
.
Examples and more at xmlunit.sourceforge.net
Field Summary | |
---|---|
static int |
RETURN_ACCEPT_DIFFERENCE
Standard return value for the differenceFound method. |
static int |
RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL
Override return value for the differenceFound method. |
static int |
RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR
Override return value for the differenceFound method. |
static int |
RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT
Override return value for the differenceFound method. |
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)
Receive notification that a comparison between 2 nodes has been skipped because the node types are not comparable by the DifferenceEngine |
Field Detail |
---|
static final int RETURN_ACCEPT_DIFFERENCE
differenceFound
method.
Indicates that the Difference
is interpreted as defined
in DifferenceConstants
.
static final int RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL
differenceFound
method.
Indicates that the nodes identified as being different should be
interpreted as being identical.
static final int RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR
differenceFound
method.
Indicates that the nodes identified as being different should be
interpreted as being similar.
static final int RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT
differenceFound
method.
Indicates that the nodes identified as being similar should be
interpreted as being different.
Method Detail |
---|
int differenceFound(Difference difference)
difference
- a Difference instance as defined in DifferenceConstants
describing the cause
of the difference and containing the detail of the nodes that
differ
void skippedComparison(org.w3c.dom.Node control, org.w3c.dom.Node test)
control
- the control node being comparedtest
- the test node being comparedDifferenceEngine
|
XMLUnit is hosted by sourceforge.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |