public class RecursiveElementNameAndTextQualifier extends Object implements ElementQualifier
Constructor and Description |
---|
RecursiveElementNameAndTextQualifier()
Uses element names and the text nested an arbitrary level of
child elements deeper into the element to compare
elements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
qualifyForComparison(Element currentControl,
Element currentTest)
Returns result of recursive comparison of all the nodes of a
control and test element.
|
public RecursiveElementNameAndTextQualifier()
Does not ignore empty text nodes.
public boolean qualifyForComparison(Element currentControl, Element currentTest)
qualifyForComparison
in interface ElementQualifier
currentControl
- an Element from the control XML NodeListcurrentTest
- an Element from the test XML NodeListCopyright © 2001–2017 XMLUnit. All rights reserved.