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