A B C D E F G H I N O P Q R S T U V W X

A

AbstractNodeTester - Class in org.custommonkey.xmlunit
Helper class.
AbstractNodeTester() - Constructor for class org.custommonkey.xmlunit.AbstractNodeTester
 
ALL_ATTRIBUTES - Static variable in class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
 
appendAttributeDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendCdataSectionDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendCommentDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendDocumentDetail(StringBuffer) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendDocumentTypeDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendElementDetail(StringBuffer, Node, boolean) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendMessage(StringBuffer) - Method in class org.custommonkey.xmlunit.Diff
Append the message from the result of this Diff instance to a specified StringBuffer
appendNodeDetail(StringBuffer, NodeDetail) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
Convert a Node into a simple String representation and append to StringBuffer
appendProcessingInstructionDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendTextDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
areAttributesComparable(Element, Element) - Method in class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
Determine whether the qualifying attributes are present in both elements and if so whether their values are the same
assertIsValid() - Method in class org.custommonkey.xmlunit.Validator
Assert that a document is valid.
assertNodeTestPasses(String, NodeTester, short) - Static method in class org.custommonkey.xmlunit.XMLAssert
Execute a NodeTest for a single node type and assert that it passes
assertNodeTestPasses(NodeTest, NodeTester, short[], boolean) - Static method in class org.custommonkey.xmlunit.XMLAssert
Execute a NodeTest for multiple node types and make an assertion about it whether it is expected to pass
assertNodeTestPasses(String, NodeTester, short) - Method in class org.custommonkey.xmlunit.XMLTestCase
Execute a NodeTest for a single node type and assert that it passes
assertNodeTestPasses(NodeTest, NodeTester, short[], boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Execute a NodeTest for multiple node types and make an assertion about it whether it is expected to pass
assertNotXpathExists(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. Use assertXpathNotExists instead
assertNotXpathExists(String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. Use assertXpathNotExists instead
assertXMLEqual(Diff, boolean) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the result of an XML comparison is or is not similar.
assertXMLEqual(String, Diff, boolean) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the result of an XML comparison is or is not similar.
assertXMLEqual(String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(Document, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(String, Document, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(String, Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are similar
assertXMLEqual(Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not similar.
assertXMLEqual(Diff, boolean, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. Use XMLTestCase#assertXMLEqual(String, Diff, boolean) instead
assertXMLEqual(String, Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not similar.
assertXMLEqual(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLEqual(Document, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLEqual(Reader, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLEqual(String, Document, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLEqual(String, Reader, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are similar
assertXMLIdentical(Diff, boolean) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the result of an XML comparison is or is not identical
assertXMLIdentical(Diff, boolean, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Deprecated. Use XMLTestCase#assertXMLIdentical(String, Diff, boolean) instead
assertXMLIdentical(String, Diff, boolean) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the result of an XML comparison is or is not identical
assertXMLIdentical(Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not identical
assertXMLIdentical(Diff, boolean, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. Use XMLTestCase#assertXMLIdentical(String, Diff, boolean) instead
assertXMLIdentical(String, Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not identical
assertXMLNotEqual(String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(Document, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, Document, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLNotEqual(Document, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, Document, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLNotEqual(Reader, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, Reader, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are NOT similar
assertXMLValid(String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a String containing XML contains valid XML: the String must contain a DOCTYPE declaration to be validated
assertXMLValid(String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a String containing XML contains valid XML: the String must contain a DOCTYPE to be validated, but the validation will use the systemId to obtain the DTD
assertXMLValid(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a String containing XML contains valid XML: the String will be given a DOCTYPE to be validated with the name and systemId specified regardless of whether it already contains a doctype declaration.
assertXMLValid(Validator) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a Validator instance returns isValid() == true
assertXMLValid(String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a String containing XML contains valid XML: the String must contain a DOCTYPE declaration to be validated
assertXMLValid(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a String containing XML contains valid XML: the String must contain a DOCTYPE to be validated, but the validation will use the systemId to obtain the DTD
assertXMLValid(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a String containing XML contains valid XML: the String will be given a DOCTYPE to be validated with the name and systemId specified regardless of whether it already contains a doctype declaration.
assertXMLValid(Validator) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a Validator instance returns isValid() == true
assertXpathEvaluatesTo(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an XML String
assertXpathEvaluatesTo(String, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an DOM Document
assertXpathEvaluatesTo(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert the value of an Xpath expression in an XML String
assertXpathEvaluatesTo(String, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert the value of an Xpath expression in an DOM Document
assertXpathExists(String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath exists in some given XML
assertXpathExists(String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath exists in some given XML
assertXpathExists(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a specific XPath exists in some given XML
assertXpathExists(String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a specific XPath exists in some given XML
assertXpathNotExists(String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath does NOT exist in some given XML
assertXpathNotExists(String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath does NOT exist in some given XML
assertXpathNotExists(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a specific XPath does NOT exist in some given XML
assertXpathNotExists(String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a specific XPath does NOT exist in some given XML
assertXpathsEqual(String, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in the same document are equal
assertXpathsEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in the same XML string are equal
assertXpathsEqual(String, String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in two XML strings are equal
assertXpathsEqual(String, Document, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in two documents are equal
assertXpathsEqual(String, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same document are equal
assertXpathsEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same XML string are equal
assertXpathsEqual(String, String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two XML strings are equal
assertXpathsEqual(String, Document, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two documents are equal
assertXpathsNotEqual(String, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in the same document are NOT equal
assertXpathsNotEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in the same XML string are NOT equal
assertXpathsNotEqual(String, String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in two XML strings are NOT equal
assertXpathsNotEqual(String, Document, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in two documents are NOT equal
assertXpathsNotEqual(String, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same document are NOT equal
assertXpathsNotEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same XML string are NOT equal
assertXpathsNotEqual(String, String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two XML strings are NOT equal
assertXpathsNotEqual(String, Document, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two documents are NOT equal
assertXpathValuesEqual(String, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in the same document are equal
assertXpathValuesEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in the same XML string are equal
assertXpathValuesEqual(String, String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two XML strings are equal
assertXpathValuesEqual(String, Document, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two documents are equal
assertXpathValuesEqual(String, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in the same document are equal
assertXpathValuesEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in the same XML string are equal
assertXpathValuesEqual(String, String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two XML strings are equal
assertXpathValuesEqual(String, Document, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two documents are equal
assertXpathValuesNotEqual(String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in the same XML string are NOT equal
assertXpathValuesNotEqual(String, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in the same document are NOT equal
assertXpathValuesNotEqual(String, String, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two XML strings are NOT equal
assertXpathValuesNotEqual(String, Document, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two documents are NOT equal
assertXpathValuesNotEqual(String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in the same XML string are NOT equal
assertXpathValuesNotEqual(String, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in the same document are NOT equal
assertXpathValuesNotEqual(String, String, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two XML strings are NOT equal
assertXpathValuesNotEqual(String, Document, String, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two documents are NOT equal
ATTR_NAME_NOT_FOUND - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements and one has an attribute the other does not
ATTR_NAME_NOT_FOUND_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements and one has an attribute the other does not
ATTR_SEQUENCE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 attribute lists with the same attributes in different sequence
ATTR_SEQUENCE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 attribute lists with the same attributes in different sequence
ATTR_VALUE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 attributes with the same name but different values
ATTR_VALUE_EXPLICITLY_SPECIFIED - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing an implied attribute value against an explicit value
ATTR_VALUE_EXPLICITLY_SPECIFIED_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing an implied attribute value against an explicit value
ATTR_VALUE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 attributes with the same name but different values
available() - Method in class org.custommonkey.xmlunit.NodeInputStream
InputStream method

B

buildControlDocument(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using the control DocumentBuilder to parse the specified String.
buildControlDocument(InputSource) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using the control DocumentBuilder and the specified InputSource
buildDocument(DocumentBuilder, Reader) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using a specific DocumentBuilder and reading characters from a specific Reader.
buildDocument(DocumentBuilder, InputSource) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using a specific DocumentBuilder and a specific InputSource
buildTestDocument(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using the test DocumentBuilder to parse the specified String.
buildTestDocument(InputSource) - Static method in class org.custommonkey.xmlunit.XMLUnit
Utility method to build a Document using the test DocumentBuilder and the specified InputSource

C

CDATA_VALUE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 CDATA sections with different values
CDATA_VALUE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 CDATA sections with different values
characters(char[], int, int) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method.
CHILD_NODELIST_LENGTH - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different numbers of children
CHILD_NODELIST_LENGTH_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different numbers of children
CHILD_NODELIST_SEQUENCE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with children whose nodes are in different sequence
CHILD_NODELIST_SEQUENCE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with children whose nodes are in different sequence
clearParameters() - Method in class org.custommonkey.xmlunit.Transform
Clear parameters used for the transformation
close() - Method in class org.custommonkey.xmlunit.DoctypeReader
Close the wrapped Reader
close() - Method in class org.custommonkey.xmlunit.NodeInputStream
InputStream method Note that calling close allows a repeated read of the content
CLOSE_NODE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
">"
comment(char[], int, int) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
LexicalHandler method
COMMENT_VALUE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 comments with different values
COMMENT_VALUE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 comments with different values
compare() - Method in class org.custommonkey.xmlunit.Diff
Top of the recursive comparison execution tree
compare(Node, Node, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Entry point for Node comparison testing.
compare(Object, Object, Node, Node, DifferenceListener, Difference) - Method in class org.custommonkey.xmlunit.DifferenceEngine
If the expected and actual values are unequal then inform the listener of a difference and throw a DifferenceFoundException.
compare(Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLUnit
Deprecated. use Diff constructor directly
compare(InputSource, InputSource) - Static method in class org.custommonkey.xmlunit.XMLUnit
Deprecated. use Diff constructor directly
compare(String, Reader) - Static method in class org.custommonkey.xmlunit.XMLUnit
Deprecated. use Diff constructor directly
compare(Reader, String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Deprecated. use Diff constructor directly
compare(String, String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Deprecated. use Diff constructor directly
compareAttribute(Attr, Attr, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two attributes
compareCDataSection(CDATASection, CDATASection, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two CDATA sections
compareComment(Comment, Comment, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two comments
compareDocument(Document, Document, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two Documents for doctype and then element differences
compareDocumentType(DocumentType, DocumentType, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two DocumentType nodes
compareElement(Element, Element, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare 2 elements and their attributes
compareHasChildNodes(Node, Node, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare the number of children, and if the same, compare the actual children via their NodeLists.
compareNode(Node, Node, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.DifferenceEngine
First point of call: if nodes are comparable it compares node values then recurses to compare node children.
compareNodeBasics(Node, Node, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compares node type and node namespace characteristics: basically determines if nodes are comparable further
compareNodeChildren(Node, Node, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare the number of children, and if the same, compare the actual children via their NodeLists.
compareNodeList(NodeList, NodeList, int, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare the contents of two node list one by one, assuming that order of children is NOT important: matching begins at same position in test list as control list.
compareProcessingInstruction(ProcessingInstruction, ProcessingInstruction, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two processing instructions
compareText(Text, Text, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare text
compareXML(Reader, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare XML documents provided by two Reader classes
compareXML(String, Reader) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare XML documents provided by two Reader classes
compareXML(Reader, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare XML documents provided by two Reader classes
compareXML(String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare two XML documents provided as strings
compareXML(Document, Document) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare two XML documents provided as strings
compareXML(Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare XML documents provided by two Reader classes
compareXML(String, Reader) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare XML documents provided by two Reader classes
compareXML(Reader, String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare XML documents provided by two Reader classes
compareXML(String, String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare two XML documents provided as strings
compareXML(Document, Document) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare two XML documents provided as strings
ComparisonController - Interface in org.custommonkey.xmlunit
Callback interface used by DifferenceEngine to determine whether to halt the node-by-node comparison of two pieces of XML
CountingNodeTester - Class in org.custommonkey.xmlunit
Counts the number of nodes in a document to allow assertions to be made using a NodeTest.
CountingNodeTester(int) - Constructor for class org.custommonkey.xmlunit.CountingNodeTester
 

D

DetailedDiff - Class in org.custommonkey.xmlunit
Compares and describes all the differences between two XML documents.
DetailedDiff(Diff) - Constructor for class org.custommonkey.xmlunit.DetailedDiff
Create a new instance based on a prototypical Diff instance
Diff - Class in org.custommonkey.xmlunit
Compares and describes any difference between XML documents.
Diff(String, String) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two Strings
Diff(Reader, Reader) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML read from two Readers
Diff(Document, Document) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two Documents
Diff(String, Transform) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in a control Document against the result of a transformation
Diff(InputSource, InputSource) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML read from two JAXP InputSources
Diff(DOMSource, DOMSource) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two JAXP DOMSources
Diff(Document, Document, DifferenceEngine) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two Documents using a specific DifferenceEngine
Diff(Document, Document, DifferenceEngine, ElementQualifier) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two Documents using a specific DifferenceEngine and ElementQualifier
Diff(Diff) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff from a prototypical instance.
Difference - Class in org.custommonkey.xmlunit
Value object that describes a difference between DOM Nodes using one of the DifferenceConstants ID values and a NodeDetail instance.
Difference(int, String) - Constructor for class org.custommonkey.xmlunit.Difference
Constructor for non-similar Difference instances
Difference(int, String, boolean) - Constructor for class org.custommonkey.xmlunit.Difference
Constructor for similar Difference instances
Difference(Difference, NodeDetail, NodeDetail) - Constructor for class org.custommonkey.xmlunit.Difference
Copy constructor using prototype Difference and encountered NodeDetails
DifferenceConstants - Interface in org.custommonkey.xmlunit
Constants for describing differences between DOM Nodes.
DifferenceEngine - Class in org.custommonkey.xmlunit
Class that has responsibility for comparing Nodes and notifying a DifferenceListener of any differences or dissimilarities that are found.
DifferenceEngine(ComparisonController) - Constructor for class org.custommonkey.xmlunit.DifferenceEngine
Simple constructor
DifferenceEngine.DifferenceFoundException - Exception in org.custommonkey.xmlunit
Marker exception thrown by the protected compare() method and passed upwards through the call stack to the public compare() method.
differenceFound(Difference) - Method in class org.custommonkey.xmlunit.DetailedDiff
DifferenceListener implementation.
differenceFound(Difference) - Method in class org.custommonkey.xmlunit.Diff
DifferenceListener implementation.
differenceFound(Difference) - Method in interface org.custommonkey.xmlunit.DifferenceListener
Receive notification that 2 nodes are different.
differenceFound(Difference) - Method in class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
 
DifferenceListener - Interface in org.custommonkey.xmlunit
Listener for callbacks from a DifferenceEngine comparison.
DOCTYPE_NAME - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different names
DOCTYPE_NAME_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different names
DOCTYPE_PUBLIC_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different public identifiers
DOCTYPE_PUBLIC_ID_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different public identifiers
DOCTYPE_SYSTEM_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different system identifiers
DOCTYPE_SYSTEM_ID_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 document types with different system identifiers
DoctypeReader - Class in org.custommonkey.xmlunit
Adapts the marked-up content in a source Reader to specify that it conforms to a different DTD.
DoctypeReader(Reader, String, String) - Constructor for class org.custommonkey.xmlunit.DoctypeReader
Create a Reader whose XML content is provided by the originalSource with the exception of the DOCTYPE which is provided by the doctypeName and systemID.
DOCUMENT_NODE_DESCRIPTION - Static variable in class org.custommonkey.xmlunit.NodeDescriptor
 

E

ELEMENT_NUM_ATTRIBUTES - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements with different number of attributes
ELEMENT_NUM_ATTRIBUTES_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements with different number of attributes
ELEMENT_TAG_NAME - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements with different tag names
ELEMENT_TAG_NAME_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 elements with different tag names
ElementNameAndAttributeQualifier - Class in org.custommonkey.xmlunit
More complex interface implementation that tests two elements for tag name and attribute name comparability.
ElementNameAndAttributeQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
No-args constructor: use all attributes from all elements to determine whether elements qualify for comparability
ElementNameAndAttributeQualifier(String) - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
Simple constructor for a single qualifying attribute name
ElementNameAndAttributeQualifier(String[]) - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
Extended constructor for multiple qualifying attribute names
ElementNameAndTextQualifier - Class in org.custommonkey.xmlunit
More complex interface implementation that tests two elements for tag name and text content comparability.
ElementNameAndTextQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameAndTextQualifier
 
ElementNameQualifier - Class in org.custommonkey.xmlunit
Simple interface implementation that tests two elements for name comparability.
ElementNameQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameQualifier
 
ElementQualifier - Interface in org.custommonkey.xmlunit
Interface used by the DifferenceEngine class to determine which elements can be compared within a NodeList of child nodes.
END_CDATA - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"]]"
END_COMMENT - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"--""
END_PROCESSING_INSTRUCTION - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"?"
endCDATA() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method
endDocument() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method
endDTD() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method
endElement(String, String, String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method
endEntity(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method
endPrefixMapping(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
equals(Object) - Method in class org.custommonkey.xmlunit.Difference
Now that Differences can be constructed from prototypes we need to be able to compare them to those in DifferenceConstants
equalsNamespace(Node, Node) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
Determine whether two nodes are defined by the same namespace URI
error(SAXParseException) - Method in class org.custommonkey.xmlunit.Validator
ErrorHandler interface method
evaluate(String, Document) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
Evaluate the result of executing the specified xpath syntax select expression on the specified document
extractText(Element) - Method in class org.custommonkey.xmlunit.ElementNameAndTextQualifier
Extract the normalized text from within an element

F

fatalError(SAXParseException) - Method in class org.custommonkey.xmlunit.Validator
ErrorHandler interface method
flush() - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Swing-HTML-parser template method, no ContentHandler equivalent

G

getAllDifferences() - Method in class org.custommonkey.xmlunit.DetailedDiff
Obtain all the differences found by this instance
getContent() - Method in class org.custommonkey.xmlunit.DoctypeReader
 
getControlDocumentBuilderFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilderFactory instance used to instantiate parsers for the control XML in an XMLTestCase.
getControlNodeDetail() - Method in class org.custommonkey.xmlunit.Difference
 
getControlParser() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilder instance used to parse the control XML in an XMLTestCase.
getDescription() - Method in class org.custommonkey.xmlunit.Difference
 
getDocument() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
 
getId() - Method in class org.custommonkey.xmlunit.Difference
 
getIgnoreWhitespace() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore whitespace when comparing node values.
getMatchingNodes(String, Document) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
Execute the specified xpath syntax select expression on the specified document and return the list of nodes (could have length zero) that match
getMessage() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
getNode() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the node.
getNode() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
getNonNamespacedNodeName(Node) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
Strip any namespace information off a node name
getParameter(String) - Method in class org.custommonkey.xmlunit.Transform
See a parameter used for the transformation
getResultDocument() - Method in class org.custommonkey.xmlunit.Transform
Perform the XSLT transformation specified in the constructor
getResultString() - Method in class org.custommonkey.xmlunit.Transform
Perform the XSLT transformation specified in the constructor
getSAXParserFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the SAX parser to use in tests.
getStripWhitespaceTransform(Document) - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtain the transformation that will strip whitespace from a DOM containing empty Text nodes
getTestDocumentBuilderFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilderFactory instance used to instantiate parsers for the test XML in an XMLTestCase.
getTestNodeDetail() - Method in class org.custommonkey.xmlunit.Difference
 
getTestParser() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilder instance used to parse the test XML in an XMLTestCase.
getTrace() - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 
getTrace() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
 
getTransformerFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the transformer to use for XSLT transformations (and by implication serialization and XPaths).
getValue() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the value.
getVersion() - Static method in class org.custommonkey.xmlunit.XMLUnit
Place holder for current version info.
getXpathLocation() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the xpathLocation.
getXPathResultAsDocument(String, Document) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
Execute the copy-of transform and return the resulting Document.
getXPathResultNode(String, Document) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
Testable method to execute the copy-of transform and return the root node of the resulting Document.

H

haltComparison(Difference) - Method in interface org.custommonkey.xmlunit.ComparisonController
Determine whether a Difference that this listener has been notified of should halt further XML comparison.
haltComparison(Difference) - Method in class org.custommonkey.xmlunit.DetailedDiff
ComparisonController implementation.
haltComparison(Difference) - Method in class org.custommonkey.xmlunit.Diff
ComparisonController implementation.
handleComment(char[], int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Equivalent to Sax LexicalHandler comment method.
handleEndTag(HTML.Tag, int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Equivalent to Sax endElement
handleError(String, int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Swing-HTML-parser template method, no ContentHandler equivalent.
handleSimpleTag(HTML.Tag, MutableAttributeSet, int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Equivalent to Sax startElement plus endElement
handleStartTag(HTML.Tag, MutableAttributeSet, int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Equivalent to Sax startElement
handleText(char[], int) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Equivalent to Sax characters
HAS_CHILD_NODES - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes but only one has any children
HAS_CHILD_NODES_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes but only one has any children
HAS_DOCTYPE_DECLARATION - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 Documents only one of which has a doctype
HAS_DOCTYPE_DECLARATION_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 Documents only one of which has a doctype
hasNode() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
HTMLDocumentBuilder - Class in org.custommonkey.xmlunit
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.
HTMLDocumentBuilder(TolerantSaxDocumentBuilder) - Constructor for class org.custommonkey.xmlunit.HTMLDocumentBuilder
Constructor
HTMLDocumentBuilder.SwingEvent2SaxAdapter - Class in org.custommonkey.xmlunit
Adapts Swing HTML callback messages to Sax equivalents, passing them to a Sax-aware ContentHandler.
HTMLDocumentBuilder.SwingEvent2SaxAdapter() - Constructor for class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Default constructor

I

identical() - Method in class org.custommonkey.xmlunit.Diff
Return the result of a comparison.
ignorableWhitespace(char[], int, int) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
IgnoreTextAndAttributeValuesDifferenceListener - Class in org.custommonkey.xmlunit
Class to use when performing a Diff that only compares the structure of 2 pieces of XML, i.e.
IgnoreTextAndAttributeValuesDifferenceListener() - Constructor for class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
 
indent() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call before examining child nodes one level of indentation into DOM
isRecoverable() - Method in class org.custommonkey.xmlunit.Difference
 
isValid() - Method in class org.custommonkey.xmlunit.Validator
Perform the validation of the source against DTD

N

NAMESPACE_PREFIX - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different namespace prefixes
NAMESPACE_PREFIX_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different namespace prefixes
NAMESPACE_URI - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different namespace URIs
NAMESPACE_URI_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different namespace URIs
NODE_TYPE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different node types
NODE_TYPE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different node types
NodeDescriptor - Class in org.custommonkey.xmlunit
Class for describing Nodes
NodeDescriptor() - Constructor for class org.custommonkey.xmlunit.NodeDescriptor
 
NodeDetail - Class in org.custommonkey.xmlunit
Parameter class for holding information about a Node within a Difference instance
NodeDetail(String, Node, String) - Constructor for class org.custommonkey.xmlunit.NodeDetail
Constructor for NodeDetail.
NodeInputStream - Class in org.custommonkey.xmlunit
Adapter class to present the content of a DOM Node (e.g.
NodeInputStream(Node) - Constructor for class org.custommonkey.xmlunit.NodeInputStream
Simple constructor
NodeInputStream(Node, Properties) - Constructor for class org.custommonkey.xmlunit.NodeInputStream
Simple constructor
NodeTest - Class in org.custommonkey.xmlunit
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.
NodeTest(String) - Constructor for class org.custommonkey.xmlunit.NodeTest
Construct a NodeTest for the DOM built using the String and JAXP
NodeTest(Reader) - Constructor for class org.custommonkey.xmlunit.NodeTest
Construct a NodeTest for the DOM built using the Reader and JAXP
NodeTest(Document) - Constructor for class org.custommonkey.xmlunit.NodeTest
Construct a NodeTest for the specified Document
NodeTest(DocumentTraversal, Node) - Constructor for class org.custommonkey.xmlunit.NodeTest
Construct a NodeTest using the specified DocumentTraversal, starting at the specified root node
NodeTester - Interface in org.custommonkey.xmlunit
Perform Node-by-Node validation of a DOM Document.
NodeTestException - Exception in org.custommonkey.xmlunit
Thrown by a NodeTest that fails.
NodeTestException(String, Node) - Constructor for exception org.custommonkey.xmlunit.NodeTestException
Constructor for specific node and message
NodeTestException(String) - Constructor for exception org.custommonkey.xmlunit.NodeTestException
Constructor for message only
noMoreNodes(NodeTest) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Validate that the Nodes validated one-by-one in the isValid method were all the Nodes expected.
noMoreNodes(NodeTest) - Method in class org.custommonkey.xmlunit.CountingNodeTester
Called by NodeTest when all nodes have been iterated over: time to see if all the nodes that were expected were found.
noMoreNodes(NodeTest) - Method in interface org.custommonkey.xmlunit.NodeTester
Validate that the Nodes passed one-by-one to the testNode method were all the Nodes expected.

O

OPEN_END_NODE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"</"
OPEN_START_NODE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"<"
org.custommonkey.xmlunit - package org.custommonkey.xmlunit
 
outdent() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call after examining child nodes, ie before returning back one level of indentation from DOM
overrideDifferenceListener(DifferenceListener) - Method in class org.custommonkey.xmlunit.Diff
Override the DifferenceListener used to determine how to handle differences that are found.
overrideElementQualifier(ElementQualifier) - Method in class org.custommonkey.xmlunit.Diff
Override the ElementQualifier used to determine which control and test nodes are comparable for this difference comparison.

P

parse(Reader) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 
parse(String) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 
parse(Reader, ContentHandler) - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Perform Swing-HTML-parse-event-to-Sax-event conversion
performTest(NodeTester, short) - Method in class org.custommonkey.xmlunit.NodeTest
Does this NodeTest pass using the specified NodeTester instance?
performTest(NodeTester, short[]) - Method in class org.custommonkey.xmlunit.NodeTest
Does this NodeTest pass using the specified NodeTester instance?
preloadNodeList(NodeList) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Preload the items in a NodeList by visiting each in turn Required for pieces of test XML whose node children can be visited out of sequence by a DifferenceEngine comparison
PROCESSING_INSTRUCTION_DATA - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 processing instructions with different instructions
PROCESSING_INSTRUCTION_DATA_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 processing instructions with different instructions
PROCESSING_INSTRUCTION_TARGET - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 processing instructions with different targets
PROCESSING_INSTRUCTION_TARGET_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 processing instructions with different targets
processingInstruction(String, String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method

Q

qualifyForComparison(Element, Element) - Method in class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
Determine whether two elements qualify for further Difference comparison.
qualifyForComparison(Element, Element) - Method in class org.custommonkey.xmlunit.ElementNameAndTextQualifier
Determine whether two elements qualify for further Difference comparison.
qualifyForComparison(Element, Element) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
Determine whether two elements qualify for further Difference comparison.
qualifyForComparison(Element, Element) - Method in interface org.custommonkey.xmlunit.ElementQualifier
Determine whether two elements are comparable

R

read(char[], int, int) - Method in class org.custommonkey.xmlunit.DoctypeReader
Read DOCTYPE-replaced content from the wrapped Reader
read() - Method in class org.custommonkey.xmlunit.NodeInputStream
InputStream method
replaceDoctype(StringBuffer, String, String) - Method in class org.custommonkey.xmlunit.DoctypeReader
Perform DOCTYPE amendment / addition within some marked-up content
reset() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Clear state data.
resetCounter() - Method in class org.custommonkey.xmlunit.CountingNodeTester
Reset the counter so that an instance can be reused for another NodeTest
resolveEntity(String, String) - Method in class org.custommonkey.xmlunit.Validator
Entity Resolver method: allows us to override an existing systemID referenced in the markup DOCTYPE instruction
RETURN_ACCEPT_DIFFERENCE - Static variable in interface org.custommonkey.xmlunit.DifferenceListener
Standard return value for the differenceFound method.
RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL - Static variable in interface org.custommonkey.xmlunit.DifferenceListener
Override return value for the differenceFound method.
RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR - Static variable in interface org.custommonkey.xmlunit.DifferenceListener
Override return value for the differenceFound method.

S

setControlDocumentBuilderFactory(DocumentBuilderFactory) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the DocumentBuilderFactory used to instantiate parsers for the control XML in an XMLTestCase.
setControlParser(String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. this is a global setting and should be invoked on XMLUnit instead
setControlParser(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Overide the DocumentBuilder to use to parse control documents.
setDocumentLocator(Locator) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
setErrorListener(ErrorListener) - Method in class org.custommonkey.xmlunit.Transform
Set the ErrorListener for the transformation
setIgnoreWhitespace(boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. this is a global setting and should be invoked on XMLUnit instead
setIgnoreWhitespace(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore whitespace when comparing node values.
setOutputProperties(Properties) - Method in class org.custommonkey.xmlunit.Transform
Override output properties specified in the transformation stylesheet
setOutputProperty(String, String) - Method in class org.custommonkey.xmlunit.Transform
Override an output property specified in the transformation stylesheet
setParameter(String, Object) - Method in class org.custommonkey.xmlunit.Transform
Add a parameter for the transformation
setRecoverable(boolean) - Method in class org.custommonkey.xmlunit.Difference
Allow the recoverable field value to be overridden.
setSAXParserFactory(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the SAX parser to use in tests.
setTestDocumentBuilderFactory(DocumentBuilderFactory) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the DocumentBuilderFactory used to instantiate parsers for the test XML in an XMLTestCase.
setTestParser(String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Deprecated. this is a global setting and should be invoked on XMLUnit instead
setTestParser(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Overide the DocumentBuilder to use to parser test documents.
setTransformerFactory(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Overide the transformer to use for XSLT transformations (and by implication serialization and XPaths).
setURIResolver(URIResolver) - Method in class org.custommonkey.xmlunit.Transform
Set the URIResolver for the transformation
similar() - Method in class org.custommonkey.xmlunit.Diff
Return the result of a comparison.
similar(Text, Text) - Method in class org.custommonkey.xmlunit.ElementNameAndTextQualifier
Determine whether the text nodes contain similar values
SimpleXpathEngine - Class in org.custommonkey.xmlunit
Simple class for accessing the Nodes matched by an Xpath expression, or evaluating the String value of an Xpath expression.
SimpleXpathEngine() - Constructor for class org.custommonkey.xmlunit.SimpleXpathEngine
 
skippedComparison(Node, Node) - Method in class org.custommonkey.xmlunit.Diff
DifferenceListener implementation.
skippedComparison(Node, Node) - Method in interface org.custommonkey.xmlunit.DifferenceListener
Receive notification that a comparison between 2 nodes has been skipped because the node types are not comparable by the DifferenceEngine
skippedComparison(Node, Node) - Method in class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
Do nothing
skippedEntity(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
START_CDATA - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"![CDATA["
START_COMMENT - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"!--"
START_DOCTYPE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"!DOCTYPE"
START_PROCESSING_INSTRUCTION - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"?"
startCDATA() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method
startDocument() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method
startDTD(String, String, String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method.
startElement(String, String, String, Attributes) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method
startEntity(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled LexicalHandler method
startPrefixMapping(String, String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
swingEvent2SaxAdapter - Variable in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 

T

testAttribute(Attr) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testCDATASection(CDATASection) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testComment(Comment) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testDocumentType(DocumentType) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testElement(Element) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testEntity(Entity) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testEntityReference(EntityReference) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testNode(Node, NodeTest) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Validate a single Node by delegating to node type specific methods.
testNode(Node, NodeTest) - Method in class org.custommonkey.xmlunit.CountingNodeTester
A single Node is always valid
testNode(Node, NodeTest) - Method in interface org.custommonkey.xmlunit.NodeTester
Validate a single Node
testNotation(Notation) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testProcessingInstruction(ProcessingInstruction) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
testText(Text) - Method in class org.custommonkey.xmlunit.AbstractNodeTester
Template delegator for testNode() method.
TEXT_VALUE - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 different text values
TEXT_VALUE_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 different text values
tolerantSaxDocumentBuilder - Variable in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 
TolerantSaxDocumentBuilder - Class in org.custommonkey.xmlunit
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.
TolerantSaxDocumentBuilder(DocumentBuilder) - Constructor for class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Constructor for specific JAXP parser
toString() - Method in class org.custommonkey.xmlunit.Diff
Get the result of this Diff instance as a String
toString() - Method in class org.custommonkey.xmlunit.Difference
 
toString() - Method in class org.custommonkey.xmlunit.Validator
 
toXpathString() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
 
Transform - Class in org.custommonkey.xmlunit
Handy wrapper for an XSLT transformation performed using JAXP/Trax.
Transform(String, String) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation using String input XML and String stylesheet
Transform(String, File) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation using String input XML and stylesheet in a File
Transform(Node) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation that allows us to serialize a DOM Node
Transform(Node, String) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation from an input Node and stylesheet in a String
Transform(Node, File) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation from an input Node and stylesheet in a File
Transform(Source, Source) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation using Source input XML and Source stylesheet
transformTo(Result) - Method in class org.custommonkey.xmlunit.Transform
Perform the actual transformation

U

useXMLSchema(boolean) - Method in class org.custommonkey.xmlunit.Validator
Turn on XML Schema validation.

V

Validator - Class in org.custommonkey.xmlunit
Validates XML against its internal or external DOCTYPE, or a completely different DOCTYPE.
Validator(InputSource, boolean) - Constructor for class org.custommonkey.xmlunit.Validator
Baseline constructor: called by all others
Validator(Document, String, String) - Constructor for class org.custommonkey.xmlunit.Validator
DOM-style constructor: allows Document validation post-manipulation of the DOM tree's contents.
Validator(Reader) - Constructor for class org.custommonkey.xmlunit.Validator
Basic constructor.
Validator(Reader, String) - Constructor for class org.custommonkey.xmlunit.Validator
Extended constructor.
Validator(Reader, String, String) - Constructor for class org.custommonkey.xmlunit.Validator
Full constructor.
visited(Node) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call when visiting a node whose xpath location needs tracking
visitedAttribute(String) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
 
visitedNode(Node, String) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
 

W

warning(SAXParseException) - Method in class org.custommonkey.xmlunit.Validator
ErrorHandler interface method

X

XML_DECLARATION - Static variable in interface org.custommonkey.xmlunit.XMLConstants
<?xml> declaration
XMLAssert - Class in org.custommonkey.xmlunit
Collection of static methods so that XML assertion facilities are available in any class, not just test suites.
XMLAssert() - Constructor for class org.custommonkey.xmlunit.XMLAssert
 
XMLConstants - Interface in org.custommonkey.xmlunit
A convenient place to hang constants relating to general XML usage
XMLNS_PREFIX - Static variable in interface org.custommonkey.xmlunit.XMLConstants
xmlns attribute prefix
XMLTestCase - Class in org.custommonkey.xmlunit
JUnit TestCase subclass: extend this to add XML assertion facilities to your test suites.
XMLTestCase() - Constructor for class org.custommonkey.xmlunit.XMLTestCase
Construct a new XML test case.
XMLTestCase(String) - Constructor for class org.custommonkey.xmlunit.XMLTestCase
Construct a new test case.
XMLUnit - Class in org.custommonkey.xmlunit
Allows access to project control parameters such as which Parser to use and provides some convenience methods for building Documents from Strings etc.
XPATH_ATTRIBUTE_IDENTIFIER - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"&at;"
XPATH_CHARACTER_NODE_IDENTIFIER - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"text()"
XPATH_COMMENT_IDENTIFIER - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"comment()"
XPATH_NODE_INDEX_END - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"]"
XPATH_NODE_INDEX_START - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"["
XPATH_PROCESSING_INSTRUCTION_IDENTIFIER - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"processing-instruction()"
XPATH_SEPARATOR - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"/"
XpathNodeTracker - Class in org.custommonkey.xmlunit
Tracks Nodes visited by the DifferenceEngine and converts that information into an Xpath-String to supply to the NodeDetail of a Difference instance
XpathNodeTracker() - Constructor for class org.custommonkey.xmlunit.XpathNodeTracker
Simple constructor
XSLT_END - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
</xsl:stylesheet>
XSLT_IDENTITY_TEMPLATE - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:template> to copy the current nodeset into the output tree
XSLT_START - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:stylesheet>
XSLT_STRIP_WHITESPACE - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:strip-space> for all elements
XSLT_XML_OUTPUT_NOINDENT - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:output> for XML with no indentation
XSLTConstants - Interface in org.custommonkey.xmlunit
A convenient place to hang constants relating to XSL transformations

A B C D E F G H I N O P Q R S T U V W X

XMLUnit is hosted by sourceforge.net