org.custommonkey.xmlunit |
XMLUnit package documentation
Contains XMLUnit classes and interfaces.
|
Java Source File Name | Type | Comment |
AbstractDoctypeTests.java | Class | |
AbstractNodeTester.java | Class | Helper class. |
AbstractXpathEngineTests.java | Class | |
ComparisonController.java | Interface | |
CountingNodeTester.java | Class | Counts the number of nodes in a document to allow assertions to be made
using a NodeTest. |
DetailedDiff.java | Class | Compares and describes all the differences between two XML documents. |
Diff.java | Class | Compares and describes any difference between XML documents.
Two documents are either:
- identical: the content and sequence of the nodes in the documents
are exactly the same
- similar: the content of the nodes in the documents are the same,
but minor differences exist e.g.
|
Difference.java | Class | Value object that describes a difference between DOM Nodes using one of
the DifferenceConstants ID values and a NodeDetail instance. |
DifferenceConstants.java | Interface | Constants for describing differences between DOM Nodes. |
DifferenceEngine.java | Class | Class that has responsibility for comparing Nodes and notifying a
DifferenceListener of any differences or dissimilarities that are found. |
DifferenceListener.java | Interface | Listener for callbacks from a
DifferenceEngine.compare DifferenceEngine comparison . |
DoctypeInputStream.java | Class | Adapts the marked-up content in a source InputStream to specify that it
conforms to a different DTD. |
DoctypeReader.java | Class | Adapts the marked-up content in a source Reader to specify that it
conforms to a different DTD. |
DoctypeSupport.java | Class | Contains some common code for DoctypeReader and DoctypeInputStream. |
ElementNameAndAttributeQualifier.java | Class | More complex interface implementation that tests two elements for tag name
and attribute name comparability. |
ElementNameAndTextQualifier.java | Class | More complex interface implementation that tests two elements for tag name
and text content comparability. |
ElementNameQualifier.java | Class | Simple interface implementation that tests two elements for name
comparability. |
ElementQualifier.java | Interface | Interface used by the DifferenceEngine class to determine which elements can
be compared within a NodeList of child nodes. |
HTMLDocumentBuilder.java | Class | 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.java | Class | Class to use when performing a Diff that only compares the
structure of 2 pieces of XML, i.e. |
JAXPConstants.java | Class | Utility constant class for JAXP-defined constants. |
NamespaceContext.java | Interface | Interface used by XpathEngine in order to map prefixes to namespace URIs. |
NodeDescriptor.java | Class | |
NodeDetail.java | Class | |
NodeInputStream.java | Class | Adapter class to present the content of a DOM Node (e.g. |
NodeTest.java | Class | 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. |
NodeTester.java | Interface | Perform Node-by-Node validation of a DOM Document. |
NodeTestException.java | Class | Thrown by a NodeTest that fails. |
Replacement.java | Class | Performs replacement of one String by another String
within one or more Strings. |
SimpleNamespaceContext.java | Class | Implementation of NamespaceContext that's backed by a map. |
SimpleSerializer.java | Class | Simple serialization class that uses a NodeInputStream (and hence
a DOM-to-Stream identity transformation) to perform the work. |
SimpleXpathEngine.java | Class | Simple class for accessing the Nodes matched by an Xpath expression, or
evaluating the String value of an Xpath expression.
Uses a copy-of or value-of XSL template (as
appropriate) to execute the Xpath.
This is not an efficient method for accessing XPaths but it is portable
across underlying transform implementations. |
test_AbstractNodeTester.java | Class | |
test_BugFixes.java | Class | |
test_Constants.java | Class | |
test_DetailedDiff.java | Class | Test a DetailedDiff. |
test_Diff.java | Class | |
test_Difference.java | Class | |
test_DifferenceEngine.java | Class | |
test_DoctypeInputStream.java | Class | |
test_DoctypeReader.java | Class | |
test_ElementNameAndAttributeQualifier.java | Class | |
test_ElementNameAndTextQualifier.java | Class | |
test_ElementNameQualifier.java | Class | |
test_HTMLDocumentBuilder.java | Class | |
test_IgnoreTextAndAttributeValuesDifferenceListener.java | Class | |
test_JAXP_1_2_Schema_Validation.java | Class | |
test_NodeDescriptor.java | Class | |
test_NodeInputStream.java | Class | |
test_NodeTest.java | Class | |
test_Replacement.java | Class | |
test_SimpleNamespaceContext.java | Class | |
test_SimpleSerializer.java | Class | |
test_SimpleXpathEngine.java | Class | |
test_TolerantSaxDocumentBuilder.java | Class | |
test_Transform.java | Class | |
test_Validator.java | Class | |
test_XMLTestCase.java | Class | |
test_XMLUnit.java | Class | |
test_XpathNodeTracker.java | Class | |
TolerantSaxDocumentBuilder.java | Class | 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.java | Class | Handy wrapper for an XSLT transformation performed using JAXP/Trax. |
Validator.java | Class | Validates XML against its internal or external DOCTYPE, or a completely
different DOCTYPE. |
XMLAssert.java | Class | Collection of static methods so that XML assertion facilities are available
in any class, not just test suites. |
XMLConstants.java | Interface | |
XMLTestCase.java | Class | JUnit TestCase subclass: extend this to add XML assertion facilities to your
test suites. |
XMLUnit.java | Class | Allows access to project control parameters such as which Parser to use and
provides some convenience methods for building Documents from Strings etc. |
XpathEngine.java | Interface | Abstraction of an engine evaluating XPath expressions. |
XpathNodeTracker.java | Class | |
XSLTConstants.java | Interface | |