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 aComparisonObject.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 byDefaultNodeMatcherfor selecting matching elements.ElementSelectors.ConditionalSelectorBuilder Allows to build complexElementSelectors 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 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.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.ComparisonListenerSupport Encapsulates support forComparisonListeners so it can be reused by different implementations ofDifferenceEngine.DefaultComparisonFormatter Formatter methods for aComparisonObject.DefaultNodeMatcher Default implemetation ofNodeMatcherthat matches control and tests nodes for comparison with the help ofDefaultNodeMatcher.NodeTypeMatcherandElementSelectors.DefaultNodeMatcher.DefaultNodeTypeMatcher DefaultNodeMatcher.NodeTypeMatcherthat marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible.Diff The Diff-Object is the result of two comparisons.Difference Combines aComparisonand itsresult.DifferenceEvaluators Evaluators used for the base cases.DOMDifferenceEngine Difference engine based on DOM.ElementSelectors Common ElementSelector implementations.MultiLevelByNameAndTextSelector 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.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. -
Enum Summary Enum Description ComparisonResult The possible outcomes of a comparision.ComparisonType The kinds of comparisons XMLUnit performs.