public class RecursiveElementNameAndTextQualifier extends java.lang.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(org.w3c.dom.Element currentControl,
org.w3c.dom.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(org.w3c.dom.Element currentControl, org.w3c.dom.Element currentTest)
qualifyForComparison
in interface ElementQualifier
currentControl
- an Element from the control XML NodeListcurrentTest
- an Element from the test XML NodeList