Package org.xmlunit.diff
package org.xmlunit.diff
Contains XMLUnit
DifferenceEngine
that 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.
ElementSelector
that 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.Formatter methods for aComparison
Object.Is notified of comparisions and their results.Encapsulates support forComparisonListener
s so it can be reused by different implementations ofDifferenceEngine
.The possible outcomes of a comparision.The kinds of comparisons XMLUnit performs.Formatter methods for aComparison
Object.Default implemetation ofNodeMatcher
that matches control and tests nodes for comparison with the help ofDefaultNodeMatcher.NodeTypeMatcher
andElementSelector
s.DefaultNodeMatcher.NodeTypeMatcher
that 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.Combines aComparison
and itsresult
.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 byDefaultNodeMatcher
for selecting matching elements.Common ElementSelector implementations.Allows to build complexElementSelector
s by combining simpler blocks.ElementSelector
that 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 ofXPathContext.NodeInfo
.Representation of a node used byXPathContext
.