Package org.custommonkey.xmlunit
Interface ElementQualifier
- All Known Implementing Classes:
ElementNameAndAttributeQualifier
,ElementNameAndTextQualifier
,ElementNameQualifier
,MultiLevelElementNameAndTextQualifier
,RecursiveElementNameAndTextQualifier
public interface ElementQualifier
Interface used by the DifferenceEngine class to determine which elements can
be compared within a NodeList of child nodes.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
qualifyForComparison
(Element control, Element test) Determine whether two elements are comparable
-
Method Details
-
qualifyForComparison
Determine whether two elements are comparable- Parameters:
control
- an Element from the control XML NodeListtest
- an Element from the test XML NodeList- Returns:
- true if the elements are comparable, false otherwise
-