Package org.xmlunit.diff
Interface ElementSelector
-
- All Known Implementing Classes:
ByNameAndTextRecSelector
,DefaultConditionalSelectorBuilder.ConditionalSelector
,MultiLevelByNameAndTextSelector
,NewDifferenceEngine.ElementQualifier2ElementSelector
public interface ElementSelector
Strategy used byDefaultNodeMatcher
for selecting matching elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canBeCompared(org.w3c.dom.Element controlElement, org.w3c.dom.Element testElement)
Determine whether the two elements from the control and test XML can be compared.
-
-
-
Method Detail
-
canBeCompared
boolean canBeCompared(org.w3c.dom.Element controlElement, org.w3c.dom.Element testElement)
Determine whether the two elements from the control and test XML can be compared.- Parameters:
controlElement
- element of the control XMLtestElement
- element of the test XML- Returns:
- true if the two elements can be compared
-
-