Uses of Interface
org.custommonkey.xmlunit.ElementQualifier
-
Packages that use ElementQualifier Package Description org.custommonkey.xmlunit Root of the XMLUnit 1.x compatibility layer.org.custommonkey.xmlunit.examples -
-
Uses of ElementQualifier in org.custommonkey.xmlunit
Classes in org.custommonkey.xmlunit that implement ElementQualifier Modifier and Type Class Description class
ElementNameAndAttributeQualifier
More complex interface implementation that tests two elements for tag name and attribute name comparability.class
ElementNameAndTextQualifier
More complex interface implementation that tests two elements for tag name and text content comparability.class
ElementNameQualifier
Simple interface implementation that tests two elements for name comparability.Fields in org.custommonkey.xmlunit declared as ElementQualifier Modifier and Type Field Description private ElementQualifier
Diff. elementQualifierDelegate
private ElementQualifier
NewDifferenceEngine.ElementQualifier2ElementSelector. eq
Fields in org.custommonkey.xmlunit with type parameters of type ElementQualifier Modifier and Type Field Description private static java.util.Map<java.lang.Class<? extends ElementQualifier>,ElementSelector>
NewDifferenceEngine. KNOWN_SELECTORS
Methods in org.custommonkey.xmlunit with parameters of type ElementQualifier Modifier and Type Method Description void
DifferenceEngine. compare(org.w3c.dom.Node control, org.w3c.dom.Node test, DifferenceListener listener, ElementQualifier elementQualifier)
Entry point for Node comparison testing.void
DifferenceEngineContract. compare(org.w3c.dom.Node control, org.w3c.dom.Node test, DifferenceListener listener, ElementQualifier elementQualifier)
Entry point for Node comparison testing.void
NewDifferenceEngine. compare(org.w3c.dom.Node control, org.w3c.dom.Node test, DifferenceListener listener, ElementQualifier elementQualifier)
Entry point for Node comparison testing.protected void
DifferenceEngine. compareDocument(org.w3c.dom.Document control, org.w3c.dom.Document test, DifferenceListener listener, ElementQualifier elementQualifier)
Compare two Documents for doctype and then element differencesprotected void
DifferenceEngine. compareNode(org.w3c.dom.Node control, org.w3c.dom.Node test, DifferenceListener listener, ElementQualifier elementQualifier)
First point of call: if nodes are comparable it compares node values then recurses to compare node children.protected void
DifferenceEngine. compareNodeChildren(org.w3c.dom.Node control, org.w3c.dom.Node test, DifferenceListener listener, ElementQualifier elementQualifier)
Compare the number of children, and if the same, compare the actual children via their NodeLists.protected void
DifferenceEngine. compareNodeList(java.util.List<org.w3c.dom.Node> controlChildren, java.util.List<org.w3c.dom.Node> testChildren, int numNodes, DifferenceListener listener, ElementQualifier elementQualifier)
Compare the contents of two node list one by one, assuming that order of children is NOT important: matching begins at same position in test list as control list.void
Diff. overrideElementQualifier(ElementQualifier delegate)
Override theElementQualifier
used to determine which control and test nodes are comparable for this difference comparison.Constructors in org.custommonkey.xmlunit with parameters of type ElementQualifier Constructor Description Diff(org.w3c.dom.Document controlDoc, org.w3c.dom.Document testDoc, DifferenceEngineContract comparator, ElementQualifier elementQualifier)
Construct a Diff that compares the XML in two Documents using a specific DifferenceEngine and ElementQualifierElementQualifier2ElementSelector(ElementQualifier eq)
-
Uses of ElementQualifier in org.custommonkey.xmlunit.examples
Classes in org.custommonkey.xmlunit.examples that implement ElementQualifier Modifier and Type Class Description class
MultiLevelElementNameAndTextQualifier
Per popular request an interface implementation that uses element names and the text node containes in the n'th child node to compare elements.class
RecursiveElementNameAndTextQualifier
Compares all Element and Text nodes in two pieces of XML.
-