|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.custommonkey.xmlunit.ElementNameQualifier
public class ElementNameQualifier
Simple interface implementation that tests two elements for name
comparability. This class provides the default behaviour within a
DifferenceEngine (for backwards compatibility)
Examples and more at
xmlunit.sourceforge.net
DifferenceEngine.compareNodeList(NodeList, NodeList, int, DifferenceListener, ElementQualifier)
,
Diff.overrideElementQualifier(ElementQualifier)
Constructor Summary | |
---|---|
ElementNameQualifier()
|
Method Summary | |
---|---|
protected boolean |
equalsNamespace(org.w3c.dom.Node control,
org.w3c.dom.Node test)
Determine whether two nodes are defined by the same namespace URI |
protected java.lang.String |
getNonNamespacedNodeName(org.w3c.dom.Node node)
Strip any namespace information off a node name |
boolean |
qualifyForComparison(org.w3c.dom.Element control,
org.w3c.dom.Element test)
Determine whether two elements qualify for further Difference comparison. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementNameQualifier()
Method Detail |
---|
public boolean qualifyForComparison(org.w3c.dom.Element control, org.w3c.dom.Element test)
qualifyForComparison
in interface ElementQualifier
control
- test
-
protected boolean equalsNamespace(org.w3c.dom.Node control, org.w3c.dom.Node test)
control
- test
-
protected java.lang.String getNonNamespacedNodeName(org.w3c.dom.Node node)
node
-
|
XMLUnit is hosted by sourceforge.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |