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 classElementNameAndAttributeQualifierMore complex interface implementation that tests two elements for tag name and attribute name comparability.classElementNameAndTextQualifierMore complex interface implementation that tests two elements for tag name and text content comparability.classElementNameQualifierSimple interface implementation that tests two elements for name comparability.Methods in org.custommonkey.xmlunit with parameters of type ElementQualifier Modifier and Type Method Description voidDifferenceEngine. compare(Node control, Node test, DifferenceListener listener, ElementQualifier elementQualifier)Entry point for Node comparison testing.voidDifferenceEngineContract. compare(Node control, Node test, DifferenceListener listener, ElementQualifier elementQualifier)Entry point for Node comparison testing.voidNewDifferenceEngine. compare(Node control, Node test, DifferenceListener listener, ElementQualifier elementQualifier)Entry point for Node comparison testing.protected voidDifferenceEngine. compareDocument(Document control, Document test, DifferenceListener listener, ElementQualifier elementQualifier)Compare two Documents for doctype and then element differencesprotected voidDifferenceEngine. compareNode(Node control, 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 voidDifferenceEngine. compareNodeChildren(Node control, Node test, DifferenceListener listener, ElementQualifier elementQualifier)Compare the number of children, and if the same, compare the actual children via their NodeLists.protected voidDifferenceEngine. compareNodeList(List<Node> controlChildren, List<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.voidDiff. overrideElementQualifier(ElementQualifier delegate)Override theElementQualifierused 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(Document controlDoc, Document testDoc, DifferenceEngineContract comparator, ElementQualifier elementQualifier)Construct a Diff that compares the XML in two Documents using a specific DifferenceEngine and ElementQualifier DifferenceEngineElementQualifier2ElementSelector(ElementQualifier eq) -
Uses of ElementQualifier in org.custommonkey.xmlunit.examples
Classes in org.custommonkey.xmlunit.examples that implement ElementQualifier Modifier and Type Class Description classMultiLevelElementNameAndTextQualifierPer popular request an interface implementation that uses element names and the text node containes in the n'th child node to compare elements.classRecursiveElementNameAndTextQualifierCompares all Element and Text nodes in two pieces of XML.
-