DifferenceEnginethat is at the heart of all comparisons as well as supporting interfaces and implementations.
ClassDescriptionUseful base-implementation of some parts of the DifferenceEngine interface.Encapsulates a comparison that may or may not be performed.
ElementSelectorthat allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same and the same is true for all child elements recursively.Details of a single comparison XMLUnit has performed.The details of a target (usually some representation of an XML Node) that took part in the comparison.Decides whether the difference engine should stop the whole comparison process because of the current difference.Controllers used for the base cases.Is notified of comparisions and their results.The possible outcomes of a comparision.The kinds of comparisons XMLUnit performs.
DefaultNodeMatcher.NodeTypeMatcherthat marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible.Determines whether two Nodes are eligible for comparison based on their node type.The Diff-Object is the result of two comparisons.XMLUnit's difference engine.May decide to up- or downgrade the severity of a difference.Evaluators used for the base cases.Difference engine based on DOM.Strategy used by
DefaultNodeMatcherfor selecting matching elements.Common ElementSelector implementations.Allows to build complex
ElementSelectors by combining simpler blocks.
ElementSelectorthat allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same at a certain level of nesting.Common NodeFilter implementations.Strategy that matches control and tests nodes for comparison.Finds the XPathContext of a Node by recursively building up the XPathContext.Helper class that keeps track of the XPath of matched nodes during comparison.DOM based implementation of
XPathContext.NodeInfo.Representation of a node used by