Package org.custommonkey.xmlunit
Class NewDifferenceEngine.ElementQualifier2ElementSelector
java.lang.Object
org.custommonkey.xmlunit.NewDifferenceEngine.ElementQualifier2ElementSelector
- All Implemented Interfaces:
ElementSelector
- Enclosing class:
NewDifferenceEngine
public static class NewDifferenceEngine.ElementQualifier2ElementSelector
extends Object
implements ElementSelector
Adapts XMLUnit 1.x ComparisonQualifider to XMLUnit 2.x ElementSelector.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeCompared(Element controlElement, Element testElement) Determine whether the two elements from the control and test XML can be compared.
-
Field Details
-
eq
-
-
Constructor Details
-
ElementQualifier2ElementSelector
- Parameters:
eq- ElementQualifier to adapt
-
-
Method Details
-
canBeCompared
Description copied from interface:ElementSelectorDetermine whether the two elements from the control and test XML can be compared.- Specified by:
canBeComparedin interfaceElementSelector- Parameters:
controlElement- element of the control XMLtestElement- element of the test XML- Returns:
- true if the two elements can be compared
-