| org.custommonkey.xmlunit.DifferenceListener
All known Subclasses: org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener, org.custommonkey.xmlunit.Diff,
DifferenceListener | public interface DifferenceListener (Code) | | Listener for callbacks from a
DifferenceEngine.compare DifferenceEngine comparison .
Examples and more at xmlunit.sourceforge.net
|
Method Summary | |
int | differenceFound(Difference difference) Receive notification that 2 nodes are different.
Parameters: difference - a Difference instance as defined in DifferenceConstants DifferenceConstants describing the causeof the difference and containing the detail of the nodes thatdiffer int one of the RETURN_... | void | skippedComparison(Node control, Node test) |
RETURN_ACCEPT_DIFFERENCE | int RETURN_ACCEPT_DIFFERENCE(Code) | | Standard return value for the differenceFound method.
Indicates that the Difference is interpreted as defined
in
DifferenceConstants DifferenceConstants .
|
RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL | int RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL(Code) | | Override return value for the differenceFound method.
Indicates that the nodes identified as being different should be
interpreted as being identical.
|
RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR | int RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR(Code) | | Override return value for the differenceFound method.
Indicates that the nodes identified as being different should be
interpreted as being similar.
|
differenceFound | int differenceFound(Difference difference)(Code) | | Receive notification that 2 nodes are different.
Parameters: difference - a Difference instance as defined in DifferenceConstants DifferenceConstants describing the causeof the difference and containing the detail of the nodes thatdiffer int one of the RETURN_... constants describing how thisdifference was interpreted |
skippedComparison | void skippedComparison(Node control, Node test)(Code) | | Receive notification that a comparison between 2 nodes has been skipped
because the node types are not comparable by the DifferenceEngine
Parameters: control - the control node being compared Parameters: test - the test node being compared See Also: DifferenceEngine |
|
|