org.custommonkey.xmlunit

Interface ElementQualifier

public interface ElementQualifier

Interface used by the DifferenceEngine class to determine which elements can be compared within a NodeList of child nodes.
Examples and more at xmlunit.sourceforge.net

See Also: DifferenceEngine overrideElementQualifier

Method Summary
booleanqualifyForComparison(Element control, Element test)
Determine whether two elements are comparable

Method Detail

qualifyForComparison

public boolean qualifyForComparison(Element control, Element test)
Determine whether two elements are comparable

Parameters: control an Element from the control XML NodeList test an Element from the test XML NodeList

Returns: true if the elements are comparable, false otherwise