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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
qualifyForComparison(org.w3c.dom.Element control, org.w3c.dom.Element test)
Determine whether two elements are comparable
-
-
-
Method Detail
-
qualifyForComparison
boolean qualifyForComparison(org.w3c.dom.Element control, org.w3c.dom.Element test)
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
-
-