com.evolveum.midpoint.common.diff
Class MidPointDifferenceListener

java.lang.Object
  extended by com.evolveum.midpoint.common.diff.MidPointDifferenceListener
All Implemented Interfaces:
org.custommonkey.xmlunit.DifferenceListener

public class MidPointDifferenceListener
extends java.lang.Object
implements org.custommonkey.xmlunit.DifferenceListener

Implementation of XMLUnit's DifferenceListener. Decides which XMLUnit differences should be accepted and which ignored.

Since:
0.1
Version:
$Revision$ $Date$
Author:
Igor Farinic
See Also:
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
MidPointDifferenceListener()
           
 
Method Summary
 int differenceFound(org.custommonkey.xmlunit.Difference difference)
           
 void skippedComparison(org.w3c.dom.Node nodeControl, org.w3c.dom.Node nodeTest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidPointDifferenceListener

public MidPointDifferenceListener()
Method Detail

differenceFound

public int differenceFound(org.custommonkey.xmlunit.Difference difference)
Specified by:
differenceFound in interface org.custommonkey.xmlunit.DifferenceListener

skippedComparison

public void skippedComparison(org.w3c.dom.Node nodeControl,
                              org.w3c.dom.Node nodeTest)
Specified by:
skippedComparison in interface org.custommonkey.xmlunit.DifferenceListener


Copyright © 2011 evolveum. All Rights Reserved.