Root of the XMLUnit 1.x compatibility layer.
This package contains an API compatible with XMLUnit 1.x but using XMLUnit Core 2.x under the covers.
If you are writing new tests, don't use this package, use XMLUnit 2.x directly instead.
ClassDescriptionHelper class.Callback interface used by DifferenceEngine to determine whether to halt the node-by-node comparison of two pieces of XMLCompares and describes all the differences between two XML documents.Compares and describes any difference between XML documents.Value object that describes a difference between DOM Nodes using one of the DifferenceConstants ID values and a NodeDetail instance.Constants for describing differences between DOM Nodes.Class that has responsibility for comparing Nodes and notifying a DifferenceListener of any differences or dissimilarities that are found.Marker exception thrown by the protected compare() method and passed upwards through the call stack to the public compare() method.The pieces of DifferenceEngine's API used by Diff.Listener for callbacks from a
DifferenceEngine comparison.Adapts the marked-up content in a source InputStream to specify that it conforms to a different DTD.Adapts the marked-up content in a source Reader to specify that it conforms to a different DTD.More complex interface implementation that tests two elements for tag name and attribute name comparability.More complex interface implementation that tests two elements for tag name and text content comparability.Simple interface implementation that tests two elements for name comparability.Interface used by the DifferenceEngine class to determine which elements can be compared within a NodeList of child nodes.Build a DOM document from HTML content converting from 'plain' HTML into 'XHTML' along the way with the help of a TolerantSaxDocumentBuilder and the Swing html parser classes.Class to use when performing a Diff that only compares the structure of 2 pieces of XML, i.e. where the values of text and attribute nodes should be ignored.Utility constant class for JAXP-defined constants.Contains names for common properties.Listener for callbacks from a
DifferenceEngine comparisonthat is notified on each and every comparision that resulted in a match.Interface used by XpathEngine in order to map prefixes to namespace URIs.Class that has responsibility for comparing Nodes and notifying a DifferenceListener of any differences or dissimilarities that are found.Adapts XMLUnit 1.x ComparisonController to XMLUnit 2.x ComparisonController.Adapts XMLUnit 1.x DifferenceListener to XMLUnit 2.x DifferenceEvaluator.Adapts XMLUnit 1.x ComparisonQualifider to XMLUnit 2.x ElementSelector.Adapts XMLUnit 1.x MatchTracker to XMLUnit 2.x ComparisonListener.Class for describing NodesParameter class for holding information about a
Nodewithin a Difference instanceAdapter class to present the content of a DOM Node (e.g. a Document) as an InputStream using a DOM to Stream transformation.Encapsulation of the Node-by-Node testing of a DOM Document Uses a nodetype-specific
NodeFilterto pass the DOM Nodes to a NodeTester instance that performs the acual Node validation.Perform Node-by-Node validation of a DOM Document.Thrown by a NodeTest that fails.Since javax.xml.namespace.QName is not present prior to Java5, this is XMLUnit's own abstraction.Implementation of NamespaceContext that's backed by a map.Simple class for accessing the Nodes matched by an Xpath expression, or evaluating the String value of an Xpath expression.Uses Sax events from the
LexicalHandlerinterfaces to build a DOM document in a tolerant fashion -- it can cope with start tags without end tags, and end tags without start tags for example.Handy wrapper for an XSLT transformation performed using JAXP/Trax.Validates XML against its internal or external DOCTYPE, or a completely different DOCTYPE.Collection of static methods so that XML assertion facilities are available in any class, not just test suites.A convenient place to hang constants relating to general XML usageJUnit TestCase subclass: extend this to add XML assertion facilities to your test suites.Allows access to project control parameters such as which Parser to use and provides some convenience methods for building Documents from Strings etc.Abstraction of an engine evaluating XPath expressions.Tracks Nodes visited by the DifferenceEngine and converts that information into an Xpath-String to supply to the NodeDetail of a Difference instance.A convenient place to hang constants relating to XSL transformations