Class Summary |
AbstractNodeTester |
Helper class. |
CountingNodeTester |
Counts the number of nodes in a document to allow assertions to be made
using a NodeTest. |
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. |
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. |
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. |
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 |