| Interface | Description |
|---|---|
| ComparisonController |
Callback interface used by DifferenceEngine to determine whether to halt the
node-by-node comparison of two pieces of XML
|
| DifferenceConstants |
Constants for describing differences between DOM Nodes.
|
| DifferenceListener |
Listener for callbacks from a
DifferenceEngine comparison. |
| ElementQualifier |
Interface used by the DifferenceEngine class to determine which elements can
be compared within a NodeList of child nodes.
|
| MatchTracker |
Listener for callbacks from a
DifferenceEngine comparison that is notified on each and every
comparision that resulted in a match. |
| NamespaceContext |
Interface used by XpathEngine in order to map prefixes to namespace URIs.
|
| NodeTester |
Perform Node-by-Node validation of a DOM Document.
|
| XMLConstants |
A convenient place to hang constants relating to general XML usage
|
| XpathEngine |
Abstraction of an engine evaluating XPath expressions.
|
| XSLTConstants |
A convenient place to hang constants relating to XSL transformations
|
| Class | Description |
|---|---|
| AbstractNodeTester |
Helper class.
|
| CountingNodeTester | Deprecated
Use
CountingNodeTester instead. |
| DetailedDiff |
Compares and describes all the differences between two XML documents.
|
| Diff |
Compares and describes any difference between XML documents.
|
| Difference |
Value object that describes a difference between DOM Nodes using one of
the DifferenceConstants ID values and a NodeDetail instance.
|
| DifferenceEngine |
Class that has responsibility for comparing Nodes and notifying a
DifferenceListener of any differences or dissimilarities that are found.
|
| DoctypeInputStream |
Adapts the marked-up content in a source InputStream to specify that it
conforms to a different DTD.
|
| DoctypeReader |
Adapts the marked-up content in a source Reader to specify that it
conforms to a different DTD.
|
| ElementNameAndAttributeQualifier |
More complex interface implementation that tests two elements for tag name
and attribute name comparability.
|
| ElementNameAndTextQualifier |
More complex interface implementation that tests two elements for tag name
and text content comparability.
|
| ElementNameQualifier |
Simple interface implementation that tests two elements for name
comparability.
|
| HTMLDocumentBuilder |
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.
|
| IgnoreTextAndAttributeValuesDifferenceListener |
Class to use when performing a Diff that only compares the
structure of 2 pieces of XML, i.e.
|
| JAXPConstants |
Utility constant class for JAXP-defined constants.
|
| JAXPConstants.Properties |
Utility constant class for JAXP Properties, typically used with
XMLReader#setProperty(String, Object). |
| NodeDescriptor |
Class for describing Nodes
|
| NodeDetail |
Parameter class for holding information about a
Node within
a Difference instance |
| NodeInputStream |
Adapter class to present the content of a DOM Node (e.g.
|
| NodeTest |
Encapsulation of the Node-by-Node testing of a DOM Document
Uses a nodetype-specific
NodeFilter to pass the DOM Nodes
to a NodeTester instance that performs the acual Node validation. |
| QualifiedName |
Since javax.xml.namespace.QName is not present prior to Java5, this
is XMLUnit's own abstraction.
|
| SimpleNamespaceContext |
Implementation of NamespaceContext that's backed by a map.
|
| SimpleXpathEngine |
Simple class for accessing the Nodes matched by an Xpath expression, or
evaluating the String value of an Xpath expression.
|
| TolerantSaxDocumentBuilder |
Uses Sax events from the
ContentHandler and
LexicalHandler interfaces 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. |
| Transform |
Handy wrapper for an XSLT transformation performed using JAXP/Trax.
|
| Validator |
Validates XML against its internal or external DOCTYPE, or a completely
different DOCTYPE.
|
| XMLAssert |
Collection of static methods so that XML assertion facilities are available
in any class, not just test suites.
|
| XMLTestCase |
JUnit TestCase subclass: extend this to add XML assertion facilities to your
test suites.
|
| XMLUnit |
Allows access to project control parameters such as which Parser to use and
provides some convenience methods for building Documents from Strings etc.
|
| XpathNodeTracker |
Tracks Nodes visited by the DifferenceEngine and
converts that information into an Xpath-String to supply
to the NodeDetail of a Difference instance
|
| Exception | Description |
|---|---|
| DifferenceEngine.DifferenceFoundException |
Marker exception thrown by the protected compare() method and passed
upwards through the call stack to the public compare() method.
|
| NodeTestException |
Thrown by a NodeTest that fails.
|