com.ebmwebsourcing.easycommons.xml
Class IgnoreIrrelevantNodesDifferenceListener

java.lang.Object
  extended by com.ebmwebsourcing.easycommons.xml.IgnoreIrrelevantNodesDifferenceListener
All Implemented Interfaces:
org.custommonkey.xmlunit.DifferenceListener

public abstract class IgnoreIrrelevantNodesDifferenceListener
extends java.lang.Object
implements 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
IgnoreIrrelevantNodesDifferenceListener()
           
 
Method Summary
 int differenceFound(org.custommonkey.xmlunit.Difference d)
           
protected abstract  boolean isIrrelevantAttribute(org.w3c.dom.Attr att)
           
protected abstract  boolean isIrrelevantChildNode(org.w3c.dom.Node node)
           
 void skippedComparison(org.w3c.dom.Node arg0, org.w3c.dom.Node arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreIrrelevantNodesDifferenceListener

public IgnoreIrrelevantNodesDifferenceListener()
Method Detail

isIrrelevantAttribute

protected abstract boolean isIrrelevantAttribute(org.w3c.dom.Attr att)

isIrrelevantChildNode

protected abstract boolean isIrrelevantChildNode(org.w3c.dom.Node node)

skippedComparison

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

differenceFound

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


Copyright © 2012 Petals Link. All Rights Reserved.