public class ElementNameAndTextQualifier extends ElementNameQualifier
Constructor and Description |
---|
ElementNameAndTextQualifier() |
Modifier and Type | Method and Description |
---|---|
protected Text |
extractText(Element fromElement)
Extract the normalized text from within an element
|
boolean |
qualifyForComparison(Element control,
Element test)
Determine whether two elements qualify for further Difference comparison.
|
protected boolean |
similar(Text control,
Text test)
Determine whether the text nodes contain similar values
|
equalsNamespace, getNonNamespacedNodeName
public boolean qualifyForComparison(Element control, Element test)
qualifyForComparison
in interface ElementQualifier
qualifyForComparison
in class ElementNameQualifier
control
- test
- protected boolean similar(Text control, Text test)
control
- test
- Copyright © 2001–2017 XMLUnit. All rights reserved.