Package org.xmlunit.diff
Interface ElementSelector
- All Known Implementing Classes:
ByNameAndTextRecSelector,MultiLevelByNameAndTextSelector
public interface ElementSelector
Strategy used by
DefaultNodeMatcher for selecting matching
elements.-
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeCompared(Element controlElement, Element testElement) Determine whether the two elements from the control and test XML can be compared.
-
Method Details
-
canBeCompared
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
-