Package org.xmlunit.diff
Interface ElementSelector
-
- All Known Implementing Classes:
ByNameAndTextRecSelector,MultiLevelByNameAndTextSelector
public interface ElementSelectorStrategy used byDefaultNodeMatcherfor selecting matching elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanBeCompared(Element controlElement, Element testElement)Determine whether the two elements from the control and test XML can be compared.
-
-
-
Method Detail
-
canBeCompared
boolean canBeCompared(Element controlElement, 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
-
-