Package org.xmlunit.diff
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.-
Interface Summary Interface Description AbstractDifferenceEngine.DeferredComparison Encapsulates a comparison that may or may not be performed.ComparisonController Decides whether the difference engine should stop the whole comparison process because of the current difference.ComparisonFormatter Formatter methods for aComparison
Object.ComparisonListener Is notified of comparisions and their results.DefaultNodeMatcher.NodeTypeMatcher Determines whether two Nodes are eligible for comparison based on their node type.DifferenceEngine XMLUnit's difference engine.DifferenceEvaluator May decide to up- or downgrade the severity of a difference.ElementSelector Strategy used byDefaultNodeMatcher
for selecting matching elements.ElementSelectors.ConditionalSelectorBuilder Allows to build complexElementSelector
s by combining simpler blocks.ElementSelectors.ConditionalSelectorBuilderThen NodeMatcher Strategy that matches control and tests nodes for comparison.XPathContext.NodeInfo Representation of a node used byXPathContext
. -
Class Summary Class Description AbstractDifferenceEngine Useful base-implementation of some parts of the DifferenceEngine interface.ByNameAndTextRecSelector 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.ChildNodeXPathContextProvider MapsNode
toXPathContext
by assuming all nodes passed in are child nodes of the same parent node who's XPathContext is provided as argument to the constructor.Comparison Details of a single comparison XMLUnit has performed.Comparison.Detail The details of a target (usually some representation of an XML Node) that took part in the comparison.ComparisonControllers Controllers used for the base cases.ComparisonControllers.StopComparisonController ComparisonListenerSupport Encapsulates support forComparisonListener
s so it can be reused by different implementations ofDifferenceEngine
.DefaultComparisonFormatter Formatter methods for aComparison
Object.DefaultConditionalSelectorBuilder DefaultConditionalSelectorBuilder.ConditionalSelector DefaultNodeMatcher Default implemetation ofNodeMatcher
that matches control and tests nodes for comparison with the help ofDefaultNodeMatcher.NodeTypeMatcher
andElementSelector
s.DefaultNodeMatcher.DefaultNodeTypeMatcher DefaultNodeMatcher.NodeTypeMatcher
that marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible.DefaultNodeMatcher.Match Diff The Diff-Object is the result of two comparisons.Difference Combines aComparison
and itsresult
.DifferenceEvaluators Evaluators used for the base cases.DOMDifferenceEngine Difference engine based on DOM.DOMDifferenceEngine.Attributes ElementSelectors Common ElementSelector implementations.ElementSelectors.CanBeComparedPredicate MultiLevelByNameAndTextSelector 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.NodeFilters Common NodeFilter implementations.RecursiveXPathBuilder Finds the XPathContext of a Node by recursively building up the XPathContext.XPathContext Helper class that keeps track of the XPath of matched nodes during comparison.XPathContext.DOMNodeInfo DOM based implementation ofXPathContext.NodeInfo
.XPathContext.Level -
Enum Summary Enum Description ComparisonResult The possible outcomes of a comparision.ComparisonType The kinds of comparisons XMLUnit performs.