Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W X 

A

AbstractDifferenceEngine - Class in org.xmlunit.diff
Useful base-implementation of some parts of the DifferenceEngine interface.
AbstractDifferenceEngine() - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine
 
AbstractDifferenceEngine.ComparisonState - Class in org.xmlunit.diff
Encapsulates the current result and a flag that indicates whether comparison should be stopped.
AbstractDifferenceEngine.DeferredComparison - Interface in org.xmlunit.diff
Encapsulates a comparison that may or may not be performed.
AbstractDifferenceEngine.FinishedComparisonState - Class in org.xmlunit.diff
 
AbstractDifferenceEngine.OngoingComparisonState - Class in org.xmlunit.diff
 
AbstractNodeTester - Class in org.custommonkey.xmlunit
Helper class.
AbstractNodeTester() - Constructor for class org.custommonkey.xmlunit.AbstractNodeTester
 
Accept - Static variable in class org.xmlunit.diff.DifferenceEvaluators
Difference evaluator that just echos the result passed in.
addAttribute(QName) - Method in class org.xmlunit.diff.XPathContext
Adds knowledge about a single attribute of the current node.
addAttributes(Iterable<? extends QName>) - Method in class org.xmlunit.diff.XPathContext
Adds knowledge about the current node's attributes.
addComparisonListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
addComparisonListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
Registers a listener that is notified of each comparison.
addComparisonListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
Registers a listener that is notified of each comparison.
addDifferenceListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
addDifferenceListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
Registers a listener that is notified of each comparison with outcome other than ComparisonResult.EQUAL.
addDifferenceListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
Registers a listener that is notified of each comparison with outcome other than ComparisonResult.EQUAL.
addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
Registers a listener that is notified of each comparison with outcome ComparisonResult.EQUAL.
addMatchListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
Registers a listener that is notified of each comparison with outcome ComparisonResult.EQUAL.
addOutputProperty(String, String) - Method in class org.xmlunit.transform.Transformation
Add a named output property.
addParameter(String, Object) - Method in class org.xmlunit.transform.Transformation
Add a named parameter.
addSchemaSource(Source) - Method in class org.custommonkey.xmlunit.jaxp13.Validator
Adds a source for the schema defintion.
all(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
Determines whether a given predicate holds true for all elements.
and(ElementSelector...) - Static method in class org.xmlunit.diff.ElementSelectors
Accepts two elements if all of the given ElementSelectors do.
andIfTrueThen(boolean, AbstractDifferenceEngine.DeferredComparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
andIfTrueThen(boolean, Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
andThen(AbstractDifferenceEngine.DeferredComparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
andThen(Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
any(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
Determines whether a given predicate holds true for at least one element.
append(int) - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
Appends a single int.
append(int[]) - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
Appends an array of ints.
appendAttribute(StringBuilder, Attr) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendAttributeDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendCdataSectionDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendChildren(Iterable<? extends XPathContext.NodeInfo>) - Method in class org.xmlunit.diff.XPathContext
Adds knowledge about the current node's children appending to the knowledge already present.
appendComment(StringBuilder, Comment) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendCommentDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendDocumentDetail(StringBuffer) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendDocumentElementIndication(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Appends a short indication of the document's root element like "<ElementName...
appendDocumentType(StringBuilder, DocumentType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendDocumentTypeDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendDocumentXmlDeclaration(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendElement(StringBuilder, Element) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendElementDetail(StringBuffer, Node, boolean) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendFullDocumentHeader(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Appends the XML declaration and DOCTYPE if present as well as the document's root element for DefaultComparisonFormatter.getFullFormattedXml(org.w3c.dom.Node, org.xmlunit.diff.ComparisonType, boolean).
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
appendProcessingInstruction(StringBuilder, ProcessingInstruction) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendProcessingInstructionDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendText(StringBuilder, Text) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
appendTextDetail(StringBuffer, Node) - Static method in class org.custommonkey.xmlunit.NodeDescriptor
 
appendXPath(StringBuilder, String) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
apply() - Method in interface org.xmlunit.diff.AbstractDifferenceEngine.DeferredComparison
Perform the comparison.
apply(Node) - Method in class org.xmlunit.diff.RecursiveXPathBuilder
 
apply(F) - Method in interface org.xmlunit.util.Mapper
 
areAttributesComparable(Element, Element) - Method in class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
Deprecated.
this method is no longer used by this class and is only kept for backwards compatibility, overriding it won't have any effect anymore
asList(NodeList) - Static method in class org.xmlunit.util.IterableNodeList
Turns the NodeList into a list.
asList(Iterable<E>) - Static method in class org.xmlunit.util.Linqy
Turns the iterable into a list.
assertIsValid() - Method in class org.custommonkey.xmlunit.Validator
Assert that a document is valid.
assertNodeTestPasses(InputSource, NodeTester, short) - Static method in class org.custommonkey.xmlunit.XMLAssert
Execute a NodeTest for a single node type and assert that it passes
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(InputSource, NodeTester, short) - Method in class org.custommonkey.xmlunit.XMLTestCase
Execute a NodeTest for a single node type and assert that it passes
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
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(InputSource, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are 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, InputSource, InputSource) - 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(String, Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not similar.
assertXMLEqual(InputSource, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that two XML documents are 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, InputSource, InputSource) - 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(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(String, Diff, boolean) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the result of an XML comparison is or is not identical
assertXMLNotEqual(InputSource, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(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(Reader, Reader) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that two XML documents are NOT similar
assertXMLNotEqual(String, InputSource, InputSource) - 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(String, Document, Document) - 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(InputSource, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
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(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, InputSource, InputSource) - 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(String, Document, Document) - 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(InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that an InputSource containing XML contains valid XML: the document must contain a DOCTYPE declaration to be validated
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(InputSource, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that an InputSource containing XML contains valid XML: the document must contain a DOCTYPE to be validated, but the validation will use the systemId to obtain the DTD
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(InputSource, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a piece of XML contains valid XML: the document will be given a DOCTYPE to be validated with the name and systemId specified regardless of whether it already contains a doctype declaration.
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(InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a piece of XML contains valid XML: the input must contain a DOCTYPE declaration to be validated
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(InputSource, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a piece of XML contains valid XML: the document must contain a DOCTYPE to be validated, but the validation will use the systemId to obtain the DTD
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(InputSource, String, String) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that a piece of XML contains valid XML: the document will be given a DOCTYPE to be validated with the name and systemId specified regardless of whether it already contains a doctype declaration.
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, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an XML document.
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(QualifiedName, String, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an XML document.
assertXpathEvaluatesTo(QualifiedName, String, String) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an XML String
assertXpathEvaluatesTo(QualifiedName, String, Document) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert the value of an Xpath expression in an DOM Document
assertXpathEvaluatesTo(String, String, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert the value of an Xpath expression in an XML String
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, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath exists in some given XML
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, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
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
assertXPathMatches(String, String, String, Document) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXPathMatches(String, String, String, String) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXPathMatches(String, String, String, Reader) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXPathMatches(String, String, Document) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXPathMatches(String, String, String) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXPathMatches(String, String, Reader) - Static method in class org.custommonkey.xmlunit.examples.XPathRegexAssert
 
assertXpathNotExists(String, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that a specific XPath does NOT exist 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, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
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, InputSource) - 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, InputSource, String, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the node lists of two Xpaths in two documents 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, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same document 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, InputSource, String, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two XML pieces 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, InputSource) - 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, InputSource, String, InputSource) - 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, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in the same XML 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, InputSource, String, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the node lists of two Xpaths in two pieces of XML 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, InputSource) - 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) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in the same XML string are equal
assertXpathValuesEqual(String, InputSource, String, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two XML strings 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, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in the same XML 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, InputSource, String, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two XML strings 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, InputSource) - 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, 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, InputSource, String, InputSource) - Static method in class org.custommonkey.xmlunit.XMLAssert
Assert that the evaluation of two Xpaths in two XML strings 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, InputSource) - 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, 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, InputSource, String, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Assert that the evaluation of two Xpaths in two XML strings 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
attributeDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
Delegates to textualDifference.
available() - Method in class org.custommonkey.xmlunit.NodeInputStream
InputStream method

B

build() - Method in class org.xmlunit.builder.DiffBuilder
Compare the Test-XML DiffBuilder.withTest(Object) with the Control-XML DiffBuilder.compare(Object) and return the collected differences in a Diff object.
build() - Method in interface org.xmlunit.builder.Input.Builder
build the actual Source instance.
build() - Method in class org.xmlunit.builder.JaxbBuilder
 
build() - Method in interface org.xmlunit.builder.Transform.Builder
Create the result of the transformation.
build() - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
Builds a conditional ElementSelector.
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
byName - Static variable in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) can be compared.
byNameAndAllAttributes - Static variable in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) and attribute values for all attributes can be compared.
byNameAndAttributes(String...) - Static method in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
byNameAndAttributes(QName...) - Static method in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
byNameAndAttributesControlNS(String...) - Static method in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
byNameAndText - Static variable in class org.xmlunit.diff.ElementSelectors
Elements with the same local name (and namespace URI - if any) and nested text (if any) can be compared.
ByNameAndTextRecSelector - Class in org.xmlunit.diff
ElementSelector that allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same and the same is true for all child elements recursively.
ByNameAndTextRecSelector() - Constructor for class org.xmlunit.diff.ByNameAndTextRecSelector
 
byTransforming(Source) - Static method in class org.xmlunit.builder.Input
Build a Source by XSLT transforming a different Source.
byTransforming(Input.Builder) - Static method in class org.xmlunit.builder.Input
Build a Source by XSLT transforming a different Source.
byXPath(String, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.
byXPath(String, Map<String, String>, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.

C

canBeCompared(Element, Element) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine.ElementQualifier2ElementSelector
 
canBeCompared(Element, Element) - Method in class org.xmlunit.diff.ByNameAndTextRecSelector
 
canBeCompared(short, short) - Method in class org.xmlunit.diff.DefaultNodeMatcher.DefaultNodeTypeMatcher
 
canBeCompared(short, short) - Method in interface org.xmlunit.diff.DefaultNodeMatcher.NodeTypeMatcher
Determines whether two Nodes are eligible for comparison based on their node type.
canBeCompared(Element, Element) - Method in interface org.xmlunit.diff.ElementSelector
Determine whether the two elements from the control and test XML can be compared.
canBeCompared(Element, Element) - Method in class org.xmlunit.diff.MultiLevelByNameAndTextSelector
 
capacity() - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
Returns the current capacity (the size the buffer can use before it needs to grow).
CaseInsensitiveDifferenceListener - Class in org.custommonkey.xmlunit.examples
Ignores case for all textual content.
CaseInsensitiveDifferenceListener(DifferenceListener) - Constructor for class org.custommonkey.xmlunit.examples.CaseInsensitiveDifferenceListener
 
cast(Iterable) - Static method in class org.xmlunit.util.Linqy
Turns an iterable into its type-safe cousin.
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
cdataDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
Delegates to textualDifference.
chain(DifferenceEvaluator...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.
characters(char[], int, int) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
ContentHandler method.
checkForIdentical() - Method in class org.xmlunit.builder.DiffBuilder
check test source with the control source for identically.
checkForSimilar() - Method in class org.xmlunit.builder.DiffBuilder
check test source with the control source for similarity.
CHILD_NODE_NOT_FOUND - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.
CHILD_NODE_NOT_FOUND_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.
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
clearOutputProperties() - Method in class org.xmlunit.transform.Transformation
Clear all output properties.
clearParameters() - Method in class org.custommonkey.xmlunit.Transform
Clear parameters used for the transformation
clearParameters() - Method in class org.xmlunit.transform.Transformation
Clear all output parameters.
clearTrackedAttribute() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call after processing attributes of an element and turning to compare the child nodes.
clone() - Method in class org.xmlunit.diff.XPathContext
Creates a deep copy of this XPathContext.
close() - Method in class org.custommonkey.xmlunit.DoctypeInputStream
 
close() - Method in class org.custommonkey.xmlunit.DoctypeReader
 
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
commentDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
Delegates to textualDifference.
CommentLessSource - Class in org.xmlunit.input
A source that is obtained from a different source by stripping all comments.
CommentLessSource(Source) - Constructor for class org.xmlunit.input.CommentLessSource
Creates a new source that consists of the given source with all comments removed.
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(Object, Object, Node, Node, DifferenceListener, Difference, XpathNodeTracker, XpathNodeTracker) - 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(Node, Node, DifferenceListener, ElementQualifier) - Method in interface org.custommonkey.xmlunit.DifferenceEngineContract
Entry point for Node comparison testing.
compare(Node, Node, DifferenceListener, ElementQualifier) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine
Entry point for Node comparison testing.
compare(Object) - Static method in class org.xmlunit.builder.DiffBuilder
Create a DiffBuilder from all kind of types supported by Input.from(Object).
compare(Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Compares the detail values for object equality, lets the difference evaluator and comparison controller evaluate the result, notifies all listeners and returns the outcome.
compare(Source, Source) - Method in interface org.xmlunit.diff.DifferenceEngine
Compares two pieces of XML and invokes the registered listeners.
compare(Source, Source) - Method in class org.xmlunit.diff.DOMDifferenceEngine
 
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 - unused, kept for backwards compatibility
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.
CompareMatcher - Class in org.xmlunit.matchers
This Hamcrest Matcher compares two XML sources with each others.
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(List<Node>, List<Node>, 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
compareRecognizedXMLSchemaInstanceAttribute(Attr, Attr, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare two attributes
compareText(Text, Text, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare text - unused, kept for backwards compatibility
compareText(CharacterData, CharacterData, DifferenceListener) - Method in class org.custommonkey.xmlunit.DifferenceEngine
Compare text
compareXML(InputSource, InputSource) - Method in class org.custommonkey.xmlunit.XMLTestCase
Compare XML documents provided by two InputSource classes
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(InputSource, InputSource) - Static method in class org.custommonkey.xmlunit.XMLUnit
Compare XML documents provided by two InputSource classes
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
Comparison - Class in org.xmlunit.diff
Details of a single comparison XMLUnit has performed.
Comparison(ComparisonType, Node, String, Object, String, Node, String, Object, String) - Constructor for class org.xmlunit.diff.Comparison
 
Comparison.Detail - Class in org.xmlunit.diff
The details of a target (usually some representation of an XML Node) that took part in the comparison.
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
ComparisonController - Interface in org.xmlunit.diff
Decides whether the difference engine should stop the whole comparison process because of the current difference.
ComparisonController2ComparisonController(ComparisonController) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine.ComparisonController2ComparisonController
 
ComparisonControllers - Class in org.xmlunit.diff
Controllers used for the base cases.
ComparisonFormatter - Interface in org.xmlunit.diff
Formatter methods for a Comparison Object.
ComparisonListener - Interface in org.xmlunit.diff
Is notified of comparisions and their results.
ComparisonListenerSupport - Class in org.xmlunit.diff
Encapsulates support for ComparisonListeners so it can be reused by different implementations of DifferenceEngine.
ComparisonListenerSupport() - Constructor for class org.xmlunit.diff.ComparisonListenerSupport
 
comparisonPerformed(Comparison, ComparisonResult) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine.MatchTracker2ComparisonListener
 
comparisonPerformed(Comparison, ComparisonResult) - Method in interface org.xmlunit.diff.ComparisonListener
Receives information about a comparison that has been performed and its outcome.
ComparisonResult - Enum in org.xmlunit.diff
The possible outcomes of a comparision.
ComparisonState(boolean, ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
ComparisonType - Enum in org.xmlunit.diff
The kinds of comparisons XMLUnit performs.
conditionalBuilder() - Static method in class org.xmlunit.diff.ElementSelectors
Allows to build complex ElementSelectors by combining simpler blocks.
conditionalSelector(Predicate<? super Element>, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Applies the wrapped ElementSelector's logic if and only if the control element matches the given predicate.
ConfigurationException - Exception in org.custommonkey.xmlunit.exceptions
Exception thrown when an XML parser-, transformer- or XPath-factory throws a configuration exception.
ConfigurationException(Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.ConfigurationException
 
ConfigurationException(String) - Constructor for exception org.custommonkey.xmlunit.exceptions.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.ConfigurationException
 
ConfigurationException - Exception in org.xmlunit
Exception thrown when anything inside JAXP throws a *ConfigurationException.
ConfigurationException(Throwable) - Constructor for exception org.xmlunit.ConfigurationException
 
Convert - Class in org.xmlunit.util
Conversion methods.
count(Iterable) - Static method in class org.xmlunit.util.Linqy
Count the number of elements in a sequence.
CountingNodeTester - Class in org.custommonkey.xmlunit.examples
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.examples.CountingNodeTester
 
createXmlTransformer(int) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Create a default Transformer to format a XML-Node to a String.

D

Default - Static variable in class org.xmlunit.diff.ComparisonControllers
Does not stop the comparison at all.
Default - Static variable in class org.xmlunit.diff.DifferenceEvaluators
The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.
Default - Static variable in class org.xmlunit.diff.ElementSelectors
Always returns true, i.e. each element can be compared to each other element.
Default - Static variable in class org.xmlunit.diff.NodeFilters
Suppresses document-type and XML declaration nodes.
DefaultComparisonFormatter - Class in org.xmlunit.diff
Formatter methods for a Comparison Object.
DefaultComparisonFormatter() - Constructor for class org.xmlunit.diff.DefaultComparisonFormatter
 
DefaultNodeMatcher - Class in org.xmlunit.diff
Default implemetation of NodeMatcher that matches control and tests nodes for comparison with the help of DefaultNodeMatcher.NodeTypeMatcher and ElementSelectors.
DefaultNodeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
DefaultNodeMatcher(ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
Creates a matcher using the given ElementSelectors and DefaultNodeMatcher.DefaultNodeTypeMatcher.
DefaultNodeMatcher(DefaultNodeMatcher.NodeTypeMatcher, ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
Creates a matcher using the given ElementSelectors and DefaultNodeMatcher.NodeTypeMatcher.
DefaultNodeMatcher.DefaultNodeTypeMatcher - Class in org.xmlunit.diff
DefaultNodeMatcher.NodeTypeMatcher that marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible.
DefaultNodeMatcher.NodeTypeMatcher - Interface in org.xmlunit.diff
Determines whether two Nodes are eligible for comparison based on their node type.
DefaultNodeTypeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher.DefaultNodeTypeMatcher
 
describeMismatch(Object, Description) - Method in class org.xmlunit.matchers.CompareMatcher
 
describeMismatch(Object, Description) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
 
describeMismatch(Object, Description) - Method in class org.xmlunit.matchers.HasXPathMatcher
 
describeMismatch(Object, Description) - Method in class org.xmlunit.matchers.ValidationMatcher
 
describeTo(Description) - Method in class org.xmlunit.matchers.CompareMatcher
 
describeTo(Description) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
 
describeTo(Description) - Method in class org.xmlunit.matchers.HasXPathMatcher
 
describeTo(Description) - Method in class org.xmlunit.matchers.ValidationMatcher
 
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, DifferenceEngineContract) - Constructor for class org.custommonkey.xmlunit.Diff
Construct a Diff that compares the XML in two Documents using a specific DifferenceEngine
Diff(Document, Document, DifferenceEngineContract, 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.
Diff - Class in org.xmlunit.diff
The Diff-Object is the result of two comparisons.
Diff(Source, Source, Iterable<Difference>) - Constructor for class org.xmlunit.diff.Diff
 
Diff(Source, Source, ComparisonFormatter, Iterable<Difference>) - Constructor for class org.xmlunit.diff.Diff
 
DiffBuilder - Class in org.xmlunit.builder
DiffBuilder to create a Diff 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
Difference - Class in org.xmlunit.diff
Combines a Comparison and its result.
Difference(Comparison, ComparisonResult) - Constructor for class org.xmlunit.diff.Difference
Combines comparison and result.
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 that uses no MatchTracker at all.
DifferenceEngine(ComparisonController, MatchTracker) - Constructor for class org.custommonkey.xmlunit.DifferenceEngine
Simple constructor
DifferenceEngine - Interface in org.xmlunit.diff
XMLUnit's difference engine.
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.
DifferenceEngineContract - Interface in org.custommonkey.xmlunit
The pieces of DifferenceEngine's API used by Diff.
DifferenceEvaluator - Interface in org.xmlunit.diff
May decide to up- or downgrade the severity of a difference.
DifferenceEvaluators - Class in org.xmlunit.diff
Evaluators used for the base cases.
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.examples.TextDifferenceListenerBase
Delegates to the nested DifferenceListener unless the Difference is of type ATTR_VALUE_ID, CDATA_VALUE_ID, COMMENT_VALUE_ID or TEXT_VALUE_ID - for those special differences attributeDifference, cdataDifference, commentDifference or textDifference are invoked respectively.
differenceFound(Difference) - Method in class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
 
DifferenceListener - Interface in org.custommonkey.xmlunit
Listener for callbacks from a DifferenceEngine comparison.
DifferenceListener2DifferenceEvaluator(DifferenceListener) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
 
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
DoctypeInputStream - Class in org.custommonkey.xmlunit
Adapts the marked-up content in a source InputStream to specify that it conforms to a different DTD.
DoctypeInputStream(InputStream, String, String, String) - Constructor for class org.custommonkey.xmlunit.DoctypeInputStream
Create an InputStream whose XML content is provided by the originalSource with the exception of the DOCTYPE which is provided by the doctypeName and systemID.
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
 
DOMDifferenceEngine - Class in org.xmlunit.diff
Difference engine based on DOM.
DOMDifferenceEngine() - Constructor for class org.xmlunit.diff.DOMDifferenceEngine
 
DOMNodeInfo(Node) - Constructor for class org.xmlunit.diff.XPathContext.DOMNodeInfo
 
downgradeDifferencesToEqual(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.
downgradeDifferencesToSimilar(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.

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.
ElementQualifier2ElementSelector(ElementQualifier) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine.ElementQualifier2ElementSelector
 
ElementSelector - Interface in org.xmlunit.diff
Strategy used by DefaultNodeMatcher for selecting matching elements.
ElementSelectors - Class in org.xmlunit.diff
Common ElementSelector implementations.
ElementSelectors.ConditionalSelectorBuilder - Interface in org.xmlunit.diff
Allows to build complex ElementSelectors by combining simpler blocks.
ElementSelectors.ConditionalSelectorBuilderThen - Interface in org.xmlunit.diff
elseUse(ElementSelector) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
Assigns a default ElementSelector that is used if all whens have returned false.
EMPTY_CONTEXT - Static variable in class org.custommonkey.xmlunit.SimpleNamespaceContext
An empty context containing no prefixes at all.
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
equals(Object) - Method in class org.custommonkey.xmlunit.QualifiedName
 
equals(Object) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
equalsNamespace(Node, Node) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
Determine whether two nodes are defined by the same namespace URI
evaluate(Difference) - Method in class org.custommonkey.xmlunit.Diff
 
evaluate(String, Document) - Method in class org.custommonkey.xmlunit.jaxp13.Jaxp13XpathEngine
Evaluate the result of executing the specified xpath syntax select expression on the specified document
evaluate(Comparison, ComparisonResult) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
 
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
evaluate(String, Document) - Method in interface org.custommonkey.xmlunit.XpathEngine
Evaluate the result of executing the specified xpath syntax select expression on the specified document
evaluate(Comparison, ComparisonResult) - Method in interface org.xmlunit.diff.DifferenceEvaluator
May alter the outcome of a comparison.
evaluate(String, Source) - Method in class org.xmlunit.xpath.JAXPXPathEngine
Evaluates an XPath expression and stringifies the result.
evaluate(String, Node) - Method in class org.xmlunit.xpath.JAXPXPathEngine
Evaluates an XPath expression and stringifies the result.
evaluate(String, Source) - Method in interface org.xmlunit.xpath.XPathEngine
Evaluates an XPath expression and stringifies the result.
evaluate(String, Node) - Method in interface org.xmlunit.xpath.XPathEngine
Evaluates an XPath expression and stringifies the result.
EvaluateXPathMatcher - Class in org.xmlunit.matchers
This Hamcrest Matcher verifies whether the evaluation of the provided XPath expression corresponds to the value matcher specified for the provided input XML object.
EvaluateXPathMatcher(String, Matcher<String>) - Constructor for class org.xmlunit.matchers.EvaluateXPathMatcher
Creates a EvaluateXPathMatcher instance with the associated XPath expression and the value matcher corresponding to the XPath evaluation.
extractText(Element) - Method in class org.custommonkey.xmlunit.ElementNameAndTextQualifier
Extract the normalized text from within an element

F

filter(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
Exclude all elements from an iterable that don't match a given predicate.
FinishedComparisonState(ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.FinishedComparisonState
 
fireComparisonPerformed(Comparison, ComparisonResult) - Method in class org.xmlunit.diff.ComparisonListenerSupport
Propagates the result of a comparision to all registered listeners.
first(DifferenceEvaluator...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.
FloatingPointTolerantDifferenceListener - Class in org.custommonkey.xmlunit.examples
Expects texts to be floating point numbers and treats them as identical if they only differ by a given tolerance value (or less).
FloatingPointTolerantDifferenceListener(DifferenceListener, double) - Constructor for class org.custommonkey.xmlunit.examples.FloatingPointTolerantDifferenceListener
 
flush() - Method in class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Swing-HTML-parser template method, no ContentHandler equivalent
forLanguage(String) - Static method in class org.xmlunit.validation.Validator
Factory that obtains a Validator instance based on the schema language.
from(Object) - Static method in class org.xmlunit.builder.Input
Return the matching Builder for the supported types: Source, Input.Builder, Document, Node, byte[] (XML as byte[]), String (XML as String), File (contains XML), URL (to an XML-Document), URI (to an XML-Document), InputStream, ReadableByteChannel, Jaxb-Object (marshal-able with JAXB.marshal(...))
fromByteArray(byte[]) - Static method in class org.xmlunit.builder.Input
Build a Source from an array of bytes.
fromChannel(ReadableByteChannel) - Static method in class org.xmlunit.builder.Input
Build a Source from a channel.
fromDocument(Document) - Static method in class org.xmlunit.builder.Input
Build a Source from a DOM Document.
fromFile(File) - Static method in class org.xmlunit.builder.Input
Build a Source from a file.
fromFile(String) - Static method in class org.xmlunit.builder.Input
Build a Source from a named file.
fromJaxb(Object) - Static method in class org.xmlunit.builder.Input
Build a Source from a Jaxb-Object.
fromNode(Node) - Static method in class org.xmlunit.builder.Input
Build a Source from a DOM Node.
fromReader(Reader) - Static method in class org.xmlunit.builder.Input
Build a Source from a reader.
fromStream(InputStream) - Static method in class org.xmlunit.builder.Input
Build a Source from a stream.
fromString(String) - Static method in class org.xmlunit.builder.Input
Build a Source from a string.
fromURI(URI) - Static method in class org.xmlunit.builder.Input
Build a Source from an URI.
fromURI(String) - Static method in class org.xmlunit.builder.Input
Build a Source from an URI.
fromURL(URL) - Static method in class org.xmlunit.builder.Input
Build a Source from an URL.

G

getAllDifferences() - Method in class org.custommonkey.xmlunit.DetailedDiff
Obtain all the differences found by this instance
getAttributeFilter() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured ComparisonController.
getAttributes(Node) - Static method in class org.xmlunit.util.Nodes
Obtains an element's attributes as Map.
getCause() - Method in exception org.custommonkey.xmlunit.exceptions.XMLUnitException
Root cause of the exception, if any.
getCause() - Method in exception org.custommonkey.xmlunit.exceptions.XMLUnitRuntimeException
Root cause of the exception, if any.
getColumn() - Method in class org.xmlunit.validation.ValidationProblem
The column where the problem occured or UNKNOWN.
getCompareUnmatched() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether unmatched control nodes should be compared to unmatched test nodes.
getComparison() - Method in class org.xmlunit.diff.Difference
The details of the comparison.
getComparisonController() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured ComparisonController.
getContent(String) - Method in class org.custommonkey.xmlunit.DoctypeInputStream
 
getContent() - Method in class org.custommonkey.xmlunit.DoctypeReader
 
getControlDetails() - Method in class org.xmlunit.diff.Comparison
Details of the control target.
getControlDocumentBuilderFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilderFactory instance used to instantiate parsers for the control XML in an XMLTestCase.
getControlEntityResolver() - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtains the EntityResolver to be added to all new control parsers.
getControlNodeDetail() - Method in class org.custommonkey.xmlunit.Difference
 
getControlSource() - Method in class org.xmlunit.diff.Diff
 
getDescription() - Method in class org.custommonkey.xmlunit.Difference
 
getDescription(Comparison) - Method in interface org.xmlunit.diff.ComparisonFormatter
Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.
getDescription() - Method in enum org.xmlunit.diff.ComparisonType
 
getDescription(Comparison) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.
getDetails(Comparison.Detail, ComparisonType, boolean) - Method in interface org.xmlunit.diff.ComparisonFormatter
Return the xml node from Comparison.Detail.getTarget() as formatted String.
getDetails(Comparison.Detail, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Return the xml node from Comparison.Detail.getTarget() as formatted String.
getDifferenceEvaluator() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured DifferenceEvaluator.
getDifferences() - Method in class org.xmlunit.diff.Diff
 
getDocument() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
 
getExpandEntityReferences() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether the parser shall be instructed to expand entity references.
getFormattedNodeXml(Node, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Formats a node with the help of an identity XML transformation.
getFullFormattedXml(Node, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Formats the node using a format suitable for the node type and comparison.
getId() - Method in class org.custommonkey.xmlunit.Difference
 
getIgnoreAttributeOrder() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore the order of attributes on an element.
getIgnoreComments() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether comments should be ignored.
getIgnoreDiffBetweenTextAndCDATA() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether CDATA sections and Text nodes should be considered the same.
getIgnoreWhitespace() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore whitespace when comparing node values.
getInstanceErrors(Source) - Method in class org.custommonkey.xmlunit.jaxp13.Validator
Obtain a list of all errors in the given instance.
getLine() - Method in class org.xmlunit.validation.ValidationProblem
The line where the problem occured or UNKNOWN.
getLocalName() - Method in class org.custommonkey.xmlunit.QualifiedName
 
getMatchingNodes(String, Document) - Method in class org.custommonkey.xmlunit.jaxp13.Jaxp13XpathEngine
Execute the specified xpath syntax select expression on the specified document and return the list of nodes (could have length zero) that match
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
getMatchingNodes(String, Document) - Method in interface org.custommonkey.xmlunit.XpathEngine
Execute the specified xpath syntax select expression on the specified document and return the list of nodes (could have length zero) that match
getMergedNestedText(Node) - Static method in class org.xmlunit.util.Nodes
Tries to merge all direct Text and CDATA children of the given Node and concatenates their value.
getMessage() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
getMessage() - Method in class org.xmlunit.validation.ValidationProblem
The problem's message.
getName() - Method in class org.xmlunit.diff.XPathContext.DOMNodeInfo
 
getName() - Method in interface org.xmlunit.diff.XPathContext.NodeInfo
 
getNamespaceContext() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured namespace context.
getNamespaceURI(String) - Method in class org.custommonkey.xmlunit.jaxp13.XMLUnitNamespaceContext2Jaxp13
 
getNamespaceURI(String) - Method in interface org.custommonkey.xmlunit.NamespaceContext
Obtain the URI for a given prefix.
getNamespaceURI() - Method in class org.custommonkey.xmlunit.QualifiedName
 
getNamespaceURI(String) - Method in class org.custommonkey.xmlunit.SimpleNamespaceContext
 
getNode() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the node.
getNode() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
getNodeFilter() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured ComparisonController.
getNodeMatcher() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
Provides access to the configured NodeMatcher.
getNonNamespacedNodeName(Node) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
Strip any namespace information off a node name
getNormalize() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether Text nodes should be normalized.
getNormalizeWhitespace() - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether whitespace characters inside text nodes or attributes should be "normalized".
getParameter(String) - Method in class org.custommonkey.xmlunit.Transform
See a parameter used for the transformation
getParentXPath(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
Returns a string representation of the given XPathContext's parent context.
getParentXPath() - Method in class org.xmlunit.diff.Comparison.Detail
XPath leading to the target's parent.
getParentXPath() - Method in class org.xmlunit.diff.XPathContext
Stringifies the XPath of the current node's parent.
getPrefix(String) - Method in class org.custommonkey.xmlunit.jaxp13.XMLUnitNamespaceContext2Jaxp13
 
getPrefixes(String) - Method in class org.custommonkey.xmlunit.jaxp13.XMLUnitNamespaceContext2Jaxp13
 
getPrefixes() - Method in interface org.custommonkey.xmlunit.NamespaceContext
Get all prefixes of this context.
getPrefixes() - Method in class org.custommonkey.xmlunit.SimpleNamespaceContext
 
getProblems() - Method in class org.xmlunit.validation.ValidationResult
Retrieves the problems that have been found.
getQName(Node) - Static method in class org.xmlunit.util.Nodes
Extracts a Node's name, namespace URI (if any) and prefix as a QName.
getResult() - Method in class org.xmlunit.diff.Difference
The result of the difference.
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.
getSchemaErrors() - Method in class org.custommonkey.xmlunit.jaxp13.Validator
Obtain a list of all errors in the schema defintion.
getSchemaSources() - Method in class org.xmlunit.validation.Validator
Where to find the schema.
getSchemaURI() - Method in class org.xmlunit.validation.ParsingValidator
The URI (or for example the System ID in case of a DTD) that identifies the schema validated or used during validation.
getShortString(Node, String, ComparisonType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Return a String representation for DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType) that describes the "thing" that has been compared so users know how to locate it.
getStripCommentsTransform(Document) - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtain the transformation that will strip comments from a DOM.
getStripWhitespaceTransform(Document) - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtain the transformation that will strip whitespace from a DOM containing empty Text nodes
getTarget() - Method in class org.xmlunit.diff.Comparison.Detail
The actual target.
getTestDetails() - Method in class org.xmlunit.diff.Comparison
Details of the test target.
getTestDocumentBuilderFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilderFactory instance used to instantiate parsers for the test XML in an XMLTestCase.
getTestEntityResolver() - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtains the EntityResolver to be added to all new test parsers.
getTestNodeDetail() - Method in class org.custommonkey.xmlunit.Difference
 
getTestSource() - Method in class org.xmlunit.diff.Diff
 
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).
getType() - Method in class org.xmlunit.diff.Comparison
The kind of comparison performed.
getType() - Method in class org.xmlunit.diff.XPathContext.DOMNodeInfo
 
getType() - Method in interface org.xmlunit.diff.XPathContext.NodeInfo
 
getType() - Method in class org.xmlunit.validation.ValidationProblem
Whether this is an error or a warning.
getURIResolver() - Static method in class org.custommonkey.xmlunit.XMLUnit
Gets the URIResolver used during Transformations.
getValue() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the value.
getValue() - Method in class org.xmlunit.diff.Comparison.Detail
The value for comparison found at the current target.
getValue(Object, ComparisonType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
May alter the display of a comparison value for DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType) based on the comparison type.
getVersion() - Static method in class org.custommonkey.xmlunit.XMLUnit
Place holder for current version info.
getWhitespaceStrippedDocument(Document) - Static method in class org.custommonkey.xmlunit.XMLUnit
Returns a new Document instance that is identical to the one passed in with element content whitespace removed.
getXPath(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
Returns a string representation of the given XPathContext.
getXPath() - Method in class org.xmlunit.diff.Comparison.Detail
XPath leading to the target.
getXPath() - Method in class org.xmlunit.diff.XPathContext
Stringifies the XPath of the current node.
getXPathFactory() - Static method in class org.custommonkey.xmlunit.XMLUnit
Gets the class to use as XPathFactory when using JAXP 1.3.
getXpathLocation() - Method in class org.custommonkey.xmlunit.NodeDetail
Returns the xpathLocation.
getXpathNamespaceContext() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the NamespaceContext to use in XPath tests.
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.
getXSLTVersion() - Static method in class org.custommonkey.xmlunit.XMLUnit
The XSLT version set on stylesheets used internally.

H

haltComparison(Difference) - Method in interface org.custommonkey.xmlunit.ComparisonController
Determine whether a Difference that the 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
hasDifferences() - Method in class org.xmlunit.diff.Diff
 
hashCode() - Method in class org.custommonkey.xmlunit.Difference
hashcode implementation to go with equals.
hashCode() - Method in class org.custommonkey.xmlunit.QualifiedName
 
hashCode() - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
hasNode() - Method in exception org.custommonkey.xmlunit.NodeTestException
 
hasXPath(String, Matcher<String>) - Static method in class org.xmlunit.matchers.EvaluateXPathMatcher
Creates a matcher that matches when the examined XML input has a value at the specified xPath that satisfies the specified valueMatcher.
hasXPath(String) - Static method in class org.xmlunit.matchers.HasXPathMatcher
Creates a matcher that matches when the examined XML input has at least one node corresponding to the specified xPath.
HasXPathMatcher - Class in org.xmlunit.matchers
This Hamcrest Matcher verifies whether the provided XPath expression corresponds to at least one element in the provided object.
HasXPathMatcher(String) - Constructor for class org.xmlunit.matchers.HasXPathMatcher
Creates a HasXPathMatcher instance with the associated XPath expression.
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.

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
ignoreComments() - Method in class org.xmlunit.builder.DiffBuilder
Will remove all comment-Tags "<!
ignoreComments() - Method in class org.xmlunit.matchers.CompareMatcher
 
ignorePrologDifferences() - Static method in class org.xmlunit.diff.DifferenceEvaluators
Ignore any differences that are part of the XML prolog.
ignorePrologDifferencesExceptDoctype() - Static method in class org.xmlunit.diff.DifferenceEvaluators
Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.
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. where the values of text and attribute nodes should be ignored.
IgnoreTextAndAttributeValuesDifferenceListener() - Constructor for class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
 
ignoreWhitespace() - Method in class org.xmlunit.builder.DiffBuilder
Ignore whitespace by removing all empty text nodes and trimming the non-empty ones.
ignoreWhitespace() - Method in class org.xmlunit.matchers.CompareMatcher
 
indent() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call before examining child nodes one level of indentation into DOM Any subsequent call to visited is assumed to belong to nodes one level deeper into the tree than the nodes visited before calling indent.
indexOf(int[]) - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
finds sequence in current buffer.
Input - Class in org.xmlunit.builder
Fluent API to create Source instances.
Input.Builder - Interface in org.xmlunit.builder
Interface for fluent builders of Sources.
Input.TransformationBuilder - Interface in org.xmlunit.builder
Builds Sources by transforming other sources.
IntegerBuffer - Class in org.custommonkey.xmlunit.util
Simplistic dynamically growing buffer of integers used by DoctypeSupport.
IntegerBuffer() - Constructor for class org.custommonkey.xmlunit.util.IntegerBuffer
Creates a new buffer.
IntegerBuffer(int) - Constructor for class org.custommonkey.xmlunit.util.IntegerBuffer
Creates a new buffer with the given initial capacity.
isIdenticalTo(Object) - Static method in class org.xmlunit.matchers.CompareMatcher
Create a CompareMatcher which compares the test-Object with the given control Object for identity.
isInstanceValid(Source) - Method in class org.custommonkey.xmlunit.jaxp13.Validator
Is the given schema instance valid according to the configured schema definition(s)?
IsNullPredicate - Class in org.xmlunit.util
A function that tests whether an object is null.
IsNullPredicate() - Constructor for class org.xmlunit.util.IsNullPredicate
 
isRecoverable() - Method in class org.custommonkey.xmlunit.Difference
 
isSchemaValid() - Method in class org.custommonkey.xmlunit.jaxp13.Validator
Is the given schema definition valid?
isSimilarTo(Object) - Static method in class org.xmlunit.matchers.CompareMatcher
Create a CompareMatcher which compares the test-Object with the given control Object for similarity.
isValid() - Method in class org.custommonkey.xmlunit.Validator
Perform the validation of the source against DTD / Schema.
isValid() - Method in class org.xmlunit.validation.ValidationResult
Has the validation been successful?
IterableNodeList - Class in org.xmlunit.util
Provides an iterable view to a NodeList, the Iterator that can be obtained from this Iterable will be read-only.
IterableNodeList(NodeList) - Constructor for class org.xmlunit.util.IterableNodeList
 
iterator() - Method in class org.xmlunit.util.IterableNodeList
 

J

JAVA5_XSLTC_FACTORY_NAME - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
Factory class of the XSLTC version shipping with JDK 1.5 which is pretty broken.
JaxbBuilder - Class in org.xmlunit.builder
Input.Builder for Jaxb-Object and creating a JAXBSource.
JaxbBuilder(Object) - Constructor for class org.xmlunit.builder.JaxbBuilder
Creates a builder based on the given object.
Jaxp13XpathEngine - Class in org.custommonkey.xmlunit.jaxp13
XPath engine based on javax.xml.xpath.
Jaxp13XpathEngine() - Constructor for class org.custommonkey.xmlunit.jaxp13.Jaxp13XpathEngine
 
JAXPConstants - Class in org.custommonkey.xmlunit
Utility constant class for JAXP-defined constants.
JAXPConstants.Properties - Class in org.custommonkey.xmlunit
 
JAXPValidator - Class in org.xmlunit.validation
Validator using the javax.xml.validation namespace.
JAXPValidator(String) - Constructor for class org.xmlunit.validation.JAXPValidator
 
JAXPValidator(String, SchemaFactory) - Constructor for class org.xmlunit.validation.JAXPValidator
 
JAXPXPathEngine - Class in org.xmlunit.xpath
Simplified access to JAXP's XPath API.
JAXPXPathEngine(XPathFactory) - Constructor for class org.xmlunit.xpath.JAXPXPathEngine
 
JAXPXPathEngine() - Constructor for class org.xmlunit.xpath.JAXPXPathEngine
Create an XPathEngine that uses JAXP's default XPathFactory under the covers.

L

Languages - Class in org.xmlunit.validation
Constants for the languages supported by XMLUnit's schema validation.
Linqy - Class in org.xmlunit.util
A couple of (functional) sequence processing constructs.

M

map(Iterable<F>, Mapper<? super F, T>) - Static method in class org.xmlunit.util.Linqy
Create a new iterable by applying a mapper function to each element of a given sequence.
Mapper<F,T> - Interface in org.xmlunit.util
A function mapping from one type to another.
match(Iterable<Node>, Iterable<Node>) - Method in class org.xmlunit.diff.DefaultNodeMatcher
 
match(Iterable<Node>, Iterable<Node>) - Method in interface org.xmlunit.diff.NodeMatcher
Matches control and test nodes against each other, returns the matching pairs.
matches(Object) - Method in class org.xmlunit.matchers.CompareMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.HasXPathMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.ValidationMatcher
 
matchFound(Difference) - Method in interface org.custommonkey.xmlunit.MatchTracker
Receive notification that 2 match.
MatchTracker - Interface in org.custommonkey.xmlunit
Listener for callbacks from a DifferenceEngine comparison that is notified on each and every comparision that resulted in a match.
MatchTracker2ComparisonListener(MatchTracker) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine.MatchTracker2ComparisonListener
 
MultiLevelByNameAndTextSelector - Class in org.xmlunit.diff
ElementSelector that allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same at a certain level of nesting.
MultiLevelByNameAndTextSelector(int) - Constructor for class org.xmlunit.diff.MultiLevelByNameAndTextSelector
Uses element names and the text nested levels child elements deeper into the element to compare elements.
MultiLevelByNameAndTextSelector(int, boolean) - Constructor for class org.xmlunit.diff.MultiLevelByNameAndTextSelector
Uses element names and the text nested levels child elements deeper into the element to compare elements.
MultiLevelElementNameAndTextQualifier - Class in org.custommonkey.xmlunit.examples
Per popular request an interface implementation that uses element names and the text node containes in the n'th child node to compare elements.
MultiLevelElementNameAndTextQualifier(int) - Constructor for class org.custommonkey.xmlunit.examples.MultiLevelElementNameAndTextQualifier
Uses element names and the text nested levels child elements deeper into the element to compare elements.
MultiLevelElementNameAndTextQualifier(int, boolean) - Constructor for class org.custommonkey.xmlunit.examples.MultiLevelElementNameAndTextQualifier
Uses element names and the text nested levels child elements deeper into the element to compare elements.

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
NamespaceContext - Interface in org.custommonkey.xmlunit
Interface used by XpathEngine in order to map prefixes to namespace URIs.
navigateToAttribute(QName) - Method in class org.xmlunit.diff.XPathContext
Moves from the current node to the given attribute.
navigateToChild(int) - Method in class org.xmlunit.diff.XPathContext
Moves from the current node to the given child node.
navigateToParent() - Method in class org.xmlunit.diff.XPathContext
Moves back to the parent.
newControlParser() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilder instance used to parse the control XML in an XMLTestCase.
NewDifferenceEngine - Class in org.custommonkey.xmlunit
Class that has responsibility for comparing Nodes and notifying a DifferenceListener of any differences or dissimilarities that are found.
NewDifferenceEngine(ComparisonController) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine
Simple constructor that uses no MatchTracker at all.
NewDifferenceEngine(ComparisonController, MatchTracker) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine
Simple constructor
NewDifferenceEngine.ComparisonController2ComparisonController - Class in org.custommonkey.xmlunit
 
NewDifferenceEngine.DifferenceListener2DifferenceEvaluator - Class in org.custommonkey.xmlunit
 
NewDifferenceEngine.ElementQualifier2ElementSelector - Class in org.custommonkey.xmlunit
 
NewDifferenceEngine.MatchTracker2ComparisonListener - Class in org.custommonkey.xmlunit
 
newTestParser() - Static method in class org.custommonkey.xmlunit.XMLUnit
Get the DocumentBuilder instance used to parse the test XML in an XMLTestCase.
newXpathEngine() - Static method in class org.custommonkey.xmlunit.XMLUnit
Obtains an XpathEngine to use in XPath tests.
NO_NAMESPACE_SCHEMA_LOCATION - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.
NO_NAMESPACE_SCHEMA_LOCATION_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.
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.
NodeFilters - Class in org.xmlunit.diff
Common NodeFilter implementations.
NodeInputStream - Class in org.custommonkey.xmlunit
Adapter class to present the content of a DOM Node (e.g. a Document) as an InputStream using a DOM to Stream transformation.
NodeInputStream(Node) - Constructor for class org.custommonkey.xmlunit.NodeInputStream
Simple constructor
NodeInputStream(Node, Properties) - Constructor for class org.custommonkey.xmlunit.NodeInputStream
Simple constructor
NodeMatcher - Interface in org.xmlunit.diff
Strategy that matches control and tests nodes for comparison.
Nodes - Class in org.xmlunit.util
Utility algorithms that work on DOM nodes.
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(InputSource) - Constructor for class org.custommonkey.xmlunit.NodeTest
Construct a NodeTest for the DOM built using the InputSource.
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
nodeType(short) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
Provides a display text for the constant values of the Node class that represent node types.
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.examples.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.
NormalizedSource - Class in org.xmlunit.input
Performs XML normalization on a given Source, Document or Node.
NormalizedSource() - Constructor for class org.xmlunit.input.NormalizedSource
 
NormalizedSource(Source) - Constructor for class org.xmlunit.input.NormalizedSource
Creates a new source that is created by "normalizing" the given source.
NormalizedSource(Document) - Constructor for class org.xmlunit.input.NormalizedSource
Creates a new source that is created by "normalizing" the given document.
NormalizedSource(Document, String) - Constructor for class org.xmlunit.input.NormalizedSource
Creates a new source that is created by "normalizing" the given document.
NormalizedSource(Node) - Constructor for class org.xmlunit.input.NormalizedSource
Creates a new source that is created by "normalizing" the given node.
NormalizedSource(Node, String) - Constructor for class org.xmlunit.input.NormalizedSource
Creates a new source that is created by "normalizing" the given node.
normalizeWhitespace() - Method in class org.xmlunit.builder.DiffBuilder
Normalize Text-Elements by removing all empty text nodes and normalizing the non-empty ones.
normalizeWhitespace() - Method in class org.xmlunit.matchers.CompareMatcher
 
normalizeWhitespace(Node) - Static method in class org.xmlunit.util.Nodes
Creates a new Node (of the same type as the original node) that is similar to the orginal but doesn't contain any empty text or CDATA nodes and where all textual content including attribute values or comments are trimmed and normalized.
not(ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Negates another ElementSelector.
NULL_NS_URI - Static variable in interface org.custommonkey.xmlunit.XMLConstants
""

O

OngoingComparisonState(ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.OngoingComparisonState
 
OngoingComparisonState() - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.OngoingComparisonState
 
OPEN_END_NODE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"</"
OPEN_START_NODE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"<"
or(ElementSelector...) - Static method in class org.xmlunit.diff.ElementSelectors
Accepts two elements if at least one of the given ElementSelectors does.
org.custommonkey.xmlunit - package org.custommonkey.xmlunit
Root of the XMLUnit 1.x compatibility layer.
org.custommonkey.xmlunit.examples - package org.custommonkey.xmlunit.examples
 
org.custommonkey.xmlunit.exceptions - package org.custommonkey.xmlunit.exceptions
 
org.custommonkey.xmlunit.jaxp13 - package org.custommonkey.xmlunit.jaxp13
 
org.custommonkey.xmlunit.util - package org.custommonkey.xmlunit.util
 
org.xmlunit - package org.xmlunit
XMLUnit helps testing code that creates XML.
org.xmlunit.builder - package org.xmlunit.builder
Provides fluent builders for core parts of XMLUnit.
org.xmlunit.diff - package org.xmlunit.diff
Contains XMLUnit DifferenceEngine that is at the heart of all comparisons as well as supporting interfaces and implementations.
org.xmlunit.input - package org.xmlunit.input
Some useful Source implementations.
org.xmlunit.matchers - package org.xmlunit.matchers
Hamcrest matchers on top of XMLUnit's core.
org.xmlunit.transform - package org.xmlunit.transform
XSLT convenience layer.
org.xmlunit.util - package org.xmlunit.util
Internal utilities hiding the differences between .NET and Java implementations.
org.xmlunit.validation - package org.xmlunit.validation
Validation of XML documents and schemas.
org.xmlunit.xpath - package org.xmlunit.xpath
XPath convenience layer.
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.
overrideMatchTracker(MatchTracker) - Method in class org.custommonkey.xmlunit.Diff
Override the MatchTracker used to track successfully matched nodes.

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
ParsingValidator - Class in org.xmlunit.validation
Validator implementation that uses "the old way" of validating an XML input by parsing the input.
ParsingValidator(String) - Constructor for class org.xmlunit.validation.ParsingValidator
 
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?
Predicate<T> - Interface in org.xmlunit.util
A function that tests an object for a property.
preloadChildList(List) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Preload the items in a List by visiting each in turn Required for pieces of test XML whose node children can be visited out of sequence by a DifferenceEngine comparison Makes the nodes of this list known as nodes that are visitable at the current level and makes the last child node the current node as a side effect.
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 Makes the nodes of this list known as nodes that are visitable at the current level and makes the last child node the current node as a side effect.
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

QualifiedName - Class in org.custommonkey.xmlunit
Since javax.xml.namespace.QName is not present prior to Java5, this is XMLUnit's own abstraction.
QualifiedName(String) - Constructor for class org.custommonkey.xmlunit.QualifiedName
 
QualifiedName(String, String) - Constructor for class org.custommonkey.xmlunit.QualifiedName
 
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
qualifyForComparison(Element, Element) - Method in class org.custommonkey.xmlunit.examples.MultiLevelElementNameAndTextQualifier
 
qualifyForComparison(Element, Element) - Method in class org.custommonkey.xmlunit.examples.RecursiveElementNameAndTextQualifier
Returns result of recursive comparison of all the nodes of a control and test element.

R

read() - Method in class org.custommonkey.xmlunit.DoctypeInputStream
Read DOCTYPE-replaced content from the wrapped InputStream
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.DoctypeReader
Read DOCTYPE-replaced content from the wrapped Reader
read() - Method in class org.custommonkey.xmlunit.NodeInputStream
InputStream method
RecursiveElementNameAndTextQualifier - Class in org.custommonkey.xmlunit.examples
Compares all Element and Text nodes in two pieces of XML.
RecursiveElementNameAndTextQualifier() - Constructor for class org.custommonkey.xmlunit.examples.RecursiveElementNameAndTextQualifier
Uses element names and the text nested an arbitrary level of child elements deeper into the element to compare elements.
RecursiveXPathBuilder - Class in org.xmlunit.diff
Finds the XPathContext of a Node by recursively building up the XPathContext.
RecursiveXPathBuilder() - Constructor for class org.xmlunit.diff.RecursiveXPathBuilder
 
RELAXNG_NS_URI - Static variable in class org.xmlunit.validation.Languages
RELAX NG This is most likely only supported if you use additional libraries and configure JAXP to use them.
reset() - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Clear state data.
resetCounter() - Method in class org.custommonkey.xmlunit.examples.CountingNodeTester
Reset the counter so that an instance can be reused for another NodeTest
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.
RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT - Static variable in interface org.custommonkey.xmlunit.DifferenceListener
Override return value for the differenceFound method.

S

SCHEMA_LANGUAGE - Static variable in class org.custommonkey.xmlunit.JAXPConstants.Properties
Property name for the Schema Language being used.
SCHEMA_LOCATION - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.
SCHEMA_LOCATION_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
Comparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.
SCHEMA_SOURCE - Static variable in class org.custommonkey.xmlunit.JAXPConstants.Properties
Property name for the Schema Location being used.
selectNodes(String, Source) - Method in class org.xmlunit.xpath.JAXPXPathEngine
Returns a potentially empty collection of Nodes matching an XPath expression.
selectNodes(String, Node) - Method in class org.xmlunit.xpath.JAXPXPathEngine
Returns a potentially empty collection of Nodes matching an XPath expression.
selectNodes(String, Source) - Method in interface org.xmlunit.xpath.XPathEngine
Returns a potentially empty collection of Nodes matching an XPath expression.
selectNodes(String, Node) - Method in interface org.xmlunit.xpath.XPathEngine
Returns a potentially empty collection of Nodes matching an XPath expression.
selectorForElementNamed(String, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Applies the wrapped ElementSelector's logic if and only if the control element has the given (local) name.
selectorForElementNamed(QName, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Applies the wrapped ElementSelector's logic if and only if the control element has the given name.
setAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setAttributeFilter(Predicate<Attr>) - Method in interface org.xmlunit.diff.DifferenceEngine
Sets the optional strategy that decides which attributes to consider and which to ignore during comparison.
setChildren(Iterable<? extends XPathContext.NodeInfo>) - Method in class org.xmlunit.diff.XPathContext
Adds knowledge about the current node's children replacing existing knowledge.
setCompareUnmatched(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to compare unmatched control nodes to unmatched test nodes.
setComparisonController(ComparisonController) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setComparisonController(ComparisonController) - Method in interface org.xmlunit.diff.DifferenceEngine
Determines whether the comparison should stop after given difference has been found.
setComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.diff.Difference
Sets the default formatter to use with Difference.toString(org.xmlunit.diff.ComparisonFormatter).
setControlDocumentBuilderFactory(DocumentBuilderFactory) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the DocumentBuilderFactory used to instantiate parsers for the control XML in an XMLTestCase.
setControlEntityResolver(EntityResolver) - Static method in class org.custommonkey.xmlunit.XMLUnit
Sets an EntityResolver to be added to all new control parsers.
setControlParser(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Overide the DocumentBuilder to use to parse control documents.
setDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setDifferenceEvaluator(DifferenceEvaluator) - Method in interface org.xmlunit.diff.DifferenceEngine
Evaluates the severity of a difference.
setDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.diff.DOMDifferenceEngine
Sets the DocumentBuilderFactory to use when creating a Document from the Sources to compare.
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
setErrorListener(ErrorListener) - Method in class org.xmlunit.transform.Transformation
Set the error listener for the transformation.
setExpandEntityReferences(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether the parser shall be instructed to expand entity references.
setFactory(TransformerFactory) - Method in class org.xmlunit.transform.Transformation
Set the TraX factory to use.
setIgnoreAttributeOrder(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore the order of attributes on an element.
setIgnoreComments(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether comments should be ignored.
setIgnoreDiffBetweenTextAndCDATA(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether CDATA sections and Text nodes should be considered the same.
setIgnoreWhitespace(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether to ignore whitespace when comparing node values.
setJAXP12SchemaSource(Object) - Method in class org.custommonkey.xmlunit.Validator
As per JAXP 1.2 changes, which introduced a standard way for parsers to support schema validation.
setMatchTracker(MatchTracker) - Method in class org.custommonkey.xmlunit.DifferenceEngine
 
setMatchTracker(MatchTracker) - Method in interface org.custommonkey.xmlunit.DifferenceEngineContract
 
setMatchTracker(MatchTracker) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine
 
setNamespaceContext(NamespaceContext) - Method in class org.custommonkey.xmlunit.jaxp13.Jaxp13XpathEngine
 
setNamespaceContext(NamespaceContext) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
 
setNamespaceContext(NamespaceContext) - Method in interface org.custommonkey.xmlunit.XpathEngine
Establish a namespace context.
setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.diff.DifferenceEngine
Establish a namespace context that will be used in Comparison.Detail#getXPath.
setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.diff.RecursiveXPathBuilder
Establish a namespace context that will be used in for the XPath.
setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.xpath.JAXPXPathEngine
Establish a namespace context.
setNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.xpath.XPathEngine
Establish a namespace context.
setNode(Node) - Method in class org.xmlunit.input.NormalizedSource
 
setNodeFilter(Predicate<Node>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setNodeFilter(Predicate<Node>) - Method in interface org.xmlunit.diff.DifferenceEngine
Sets the optional strategy that decides which nodes to consider and which to ignore during comparison.
setNodeMatcher(NodeMatcher) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
 
setNodeMatcher(NodeMatcher) - Method in interface org.xmlunit.diff.DifferenceEngine
Sets the strategy for selecting nodes to compare.
setNormalize(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether Text nodes should be normalized.
setNormalizeWhitespace(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
Whether whitespace characters inside text nodes or attributes should be "normalized".
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.
setSAXParserFactory(SAXParserFactory) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the SAX parser to use in tests.
setSchema(Schema) - Method in class org.xmlunit.validation.JAXPValidator
Sets the schema to use in instance validation directly rather than via Validator.setSchemaSource(javax.xml.transform.Source).
setSchemaSource(Source) - Method in class org.xmlunit.validation.Validator
Where to find the schema.
setSchemaSources(Source...) - Method in class org.xmlunit.validation.Validator
Where to find the schema.
setSchemaURI(String) - Method in class org.xmlunit.validation.ParsingValidator
The URI (or for example the System ID in case of a DTD) that identifies the schema to validate or use during validation.
setSource(Source) - Method in class org.xmlunit.transform.Transformation
Set the source document to transform.
setStylesheet(Source) - Method in class org.xmlunit.transform.Transformation
Set the stylesheet to use.
setTestDocumentBuilderFactory(DocumentBuilderFactory) - Static method in class org.custommonkey.xmlunit.XMLUnit
Override the DocumentBuilderFactory used to instantiate parsers for the test XML in an XMLTestCase.
setTestEntityResolver(EntityResolver) - Static method in class org.custommonkey.xmlunit.XMLUnit
Sets an EntityResolver to be added to all new test parsers.
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
setURIResolver(URIResolver) - Static method in class org.custommonkey.xmlunit.XMLUnit
Sets the URIResolver to use during transformations.
setURIResolver(URIResolver) - Method in class org.xmlunit.transform.Transformation
Set the resolver to use for document() and xsl:include/import The resolver will not be attached to the factory.
setXPathFactory(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Sets the class to use as XPathFactory when using JAXP 1.3.
setXpathNamespaceContext(NamespaceContext) - Static method in class org.custommonkey.xmlunit.XMLUnit
Set the NamespaceContext to use in XPath tests.
setXSLTVersion(String) - Static method in class org.custommonkey.xmlunit.XMLUnit
Sets the XSLT version to set on stylesheets used internally.
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
SimpleNamespaceContext - Class in org.custommonkey.xmlunit
Implementation of NamespaceContext that's backed by a map.
SimpleNamespaceContext(Map) - Constructor for class org.custommonkey.xmlunit.SimpleNamespaceContext
Creates a NamespaceContext backed by the given map.
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
 
singleton(E) - Static method in class org.xmlunit.util.Linqy
An iterable containing a single element.
size() - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
Returns the current size.
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.examples.TextDifferenceListenerBase
 
skippedComparison(Node, Node) - Method in class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
Do nothing
skippedEntity(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
Unhandled ContentHandler method
source(Source) - Static method in class org.xmlunit.builder.Transform
Build a transformation for a source document.
START_CDATA - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"!
START_COMMENT - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"!
START_DOCTYPE - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"!
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
stopDiffing(Difference) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine.ComparisonController2ComparisonController
 
stopDiffing(Difference) - Method in interface org.xmlunit.diff.ComparisonController
May instruct the difference engine to stop the whole comparison process.
StopWhenDifferent - Static variable in class org.xmlunit.diff.ComparisonControllers
Makes the comparison stop as soon as the first "real" difference is encountered.
StopWhenSimilar - Static variable in class org.xmlunit.diff.ComparisonControllers
Makes the comparison stop as soon as the first difference is encountered even if it is similar.
stripWhitespace(Node) - Static method in class org.xmlunit.util.Nodes
Creates a new Node (of the same type as the original node) that is similar to the orginal but doesn't contain any empty text or CDATA nodes and where all textual content including attribute values or comments are trimmed.
STYLE - Static variable in class org.xmlunit.input.CommentLessSource
Stylesheet used to strip all comments from an XML document.
swingEvent2SaxAdapter - Variable in class org.custommonkey.xmlunit.HTMLDocumentBuilder
 
SwingEvent2SaxAdapter() - Constructor for class org.custommonkey.xmlunit.HTMLDocumentBuilder.SwingEvent2SaxAdapter
Default constructor

T

test(Object) - Method in class org.xmlunit.util.IsNullPredicate
 
test(T) - Method in interface org.xmlunit.util.Predicate
 
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.examples.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
textDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
Delegates to textualDifference.
TextDifferenceListenerBase - Class in org.custommonkey.xmlunit.examples
Base class that delegates all differences to another DifferenceListener.
TextDifferenceListenerBase(DifferenceListener) - Constructor for class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
 
textualDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.CaseInsensitiveDifferenceListener
 
textualDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.FloatingPointTolerantDifferenceListener
 
textualDifference(Difference) - Method in class org.custommonkey.xmlunit.examples.TextDifferenceListenerBase
Delegates to the nested DifferenceListener.
thenUse(ElementSelector) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilderThen
Specifies the ElementSelector to use when the condition holds true.
throwComparisonFailure() - Method in class org.xmlunit.matchers.CompareMatcher
Instead of Matcher returning false a org.junit.ComparisonFailure will be thrown.
to(Result) - Method in interface org.xmlunit.builder.Transform.TransformationResult
Output the result to a TraX Result.
toDifference(Comparison) - Static method in class org.custommonkey.xmlunit.NewDifferenceEngine
 
toDocument() - Method in interface org.xmlunit.builder.Transform.TransformationResult
Output the result to a DOM Document.
toDocument(Source) - Static method in class org.xmlunit.util.Convert
Creates a DOM Document from a TraX Source.
toDocument(Source, DocumentBuilderFactory) - Static method in class org.xmlunit.util.Convert
Creates a DOM Document from a TraX Source.
toInputSource(Source) - Static method in class org.xmlunit.util.Convert
Creates a SAX InputSource from a TraX Source.
toInputSource(Source, TransformerFactory) - Static method in class org.xmlunit.util.Convert
Creates a SAX InputSource from a TraX Source.
toIntArray() - Method in class org.custommonkey.xmlunit.util.IntegerBuffer
Returns an arry view of this buffer's content.
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
toNamespaceContext(Map<String, String>) - Static method in class org.xmlunit.util.Convert
Creates a JAXP NamespaceContext from a Map prefix => Namespace URI.
toNode(Source) - Static method in class org.xmlunit.util.Convert
Creates a DOM Node from a TraX Source.
toNode(Source, DocumentBuilderFactory) - Static method in class org.xmlunit.util.Convert
Creates a DOM Node from a TraX Source.
toNodeDetail(Comparison.Detail) - Static method in class org.custommonkey.xmlunit.NewDifferenceEngine
 
toString() - Method in class org.custommonkey.xmlunit.Diff
Get the result of this Diff instance as a String Note: This method will perform the comparison and cache the result if it hasn't been performed already.
toString() - Method in class org.custommonkey.xmlunit.Difference
 
toString() - Method in class org.custommonkey.xmlunit.QualifiedName
Represents the QualifiedName as {NS-URI}LOCAL-NAME.
toString() - Method in class org.custommonkey.xmlunit.Validator
 
toString() - Method in interface org.xmlunit.builder.Transform.TransformationResult
Output the result to a String.
toString() - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
 
toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Comparison
Returns a string representation of this comparison using the given ComparisonFormatter
toString() - Method in class org.xmlunit.diff.Comparison
Returns a string representation of this comparison using DefaultComparisonFormatter
toString() - Method in class org.xmlunit.diff.Diff
 
toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Diff
 
toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Difference
Returns a string representation of this difference using the given ComparisonFormatter
toString() - Method in class org.xmlunit.diff.Difference
Returns a string representation of this difference using DefaultComparisonFormatter
toString() - Method in class org.xmlunit.validation.ValidationProblem
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(InputSource, InputSource) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation using InputSource input XML and InputSource stylesheet
Transform(InputSource, File) - Constructor for class org.custommonkey.xmlunit.Transform
Create a transformation using InputSource 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
Transform - Class in org.xmlunit.builder
Fluent API access to Transformation.
Transform.Builder - Interface in org.xmlunit.builder
Builder for XSLT transformations.
Transform.TransformationResult - Interface in org.xmlunit.builder
Provides different options to obtain the result of an XSLT transformation.
Transformation - Class in org.xmlunit.transform
Provides a convenience layer over TraX.
Transformation() - Constructor for class org.xmlunit.transform.Transformation
 
Transformation(Source) - Constructor for class org.xmlunit.transform.Transformation
 
TransformationBuilderBase<B extends TransformationBuilderBase<B>> - Interface in org.xmlunit.builder
Holds the common builder methods for XSLT related builders.
transformTo(Result) - Method in class org.custommonkey.xmlunit.Transform
Perform the actual transformation
transformTo(Result) - Method in class org.xmlunit.transform.Transformation
Perform the transformation.
transformToDocument() - Method in class org.xmlunit.transform.Transformation
Convenience method that returns the result of the transformation as a Document.
transformToString() - Method in class org.xmlunit.transform.Transformation
Convenience method that returns the result of the transformation as a String.

U

UNKNOWN - Static variable in class org.xmlunit.validation.ValidationProblem
Constant used for unknown location information.
upgradeDifferencesToDifferent(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.
useObjectFactory() - Method in class org.xmlunit.builder.JaxbBuilder
If the given Object has no XmlRootElement annotation and is not an instants of JAXBElement it must be wrapped by a JAXBElement.
useXMLSchema(boolean) - Method in class org.custommonkey.xmlunit.Validator
Turn on XML Schema validation.
usingFactory(TransformerFactory) - Method in interface org.xmlunit.builder.TransformationBuilderBase
sets the TraX factory to use.

V

valid(Object) - Static method in class org.xmlunit.matchers.ValidationMatcher
 
valid(Schema) - Static method in class org.xmlunit.matchers.ValidationMatcher
 
validateInstance(Source) - Method in class org.xmlunit.validation.JAXPValidator
 
validateInstance(Source) - Method in class org.xmlunit.validation.ParsingValidator
 
validateInstance(Source) - Method in class org.xmlunit.validation.Validator
Validates an instance against the schema.
validateSchema() - Method in class org.xmlunit.validation.JAXPValidator
 
validateSchema() - Method in class org.xmlunit.validation.ParsingValidator
ParsingValidator doesn't support validation of the schema itself.
validateSchema() - Method in class org.xmlunit.validation.Validator
Validates a schema.
ValidationMatcher - Class in org.xmlunit.matchers
Hamcrest Matcher for XML Validation against W3C XML Schema using JAXPValidator.
ValidationMatcher(Object...) - Constructor for class org.xmlunit.matchers.ValidationMatcher
 
ValidationMatcher(Schema) - Constructor for class org.xmlunit.matchers.ValidationMatcher
 
ValidationProblem - Class in org.xmlunit.validation
A validation "problem" which may be an error or a warning.
ValidationProblem(String, int, int, ValidationProblem.ProblemType) - Constructor for class org.xmlunit.validation.ValidationProblem
Creates a ValidationProblem for the given message and location of the given type.
ValidationProblem.ProblemType - Enum in org.xmlunit.validation
The type of validation problem encountered.
ValidationResult - Class in org.xmlunit.validation
The result of a validation.
ValidationResult(boolean, Iterable<ValidationProblem>) - Constructor for class org.xmlunit.validation.ValidationResult
Creates a result based on a valid flag and an Iterable of iteration problems.
Validator - Class in org.custommonkey.xmlunit.jaxp13
Validator class based of javax.xml.validation.
Validator() - Constructor for class org.custommonkey.xmlunit.jaxp13.Validator
validates using W3C XML Schema 1.0.
Validator(String) - Constructor for class org.custommonkey.xmlunit.jaxp13.Validator
validates using the specified schema language.
Validator(SchemaFactory) - Constructor for class org.custommonkey.xmlunit.jaxp13.Validator
validates using the specified schema factory.
Validator(String, SchemaFactory) - Constructor for class org.custommonkey.xmlunit.jaxp13.Validator
validates using the specified schema language or factory.
Validator - Class in org.custommonkey.xmlunit
Validates XML against its internal or external DOCTYPE, or a completely different DOCTYPE.
Validator(InputSource, String, 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(String) - Constructor for class org.custommonkey.xmlunit.Validator
Basic constructor.
Validator(InputSource) - Constructor for class org.custommonkey.xmlunit.Validator
Basic constructor.
Validator(Reader, String) - Constructor for class org.custommonkey.xmlunit.Validator
Extended constructor.
Validator(String, String) - Constructor for class org.custommonkey.xmlunit.Validator
Extended constructor.
Validator(InputSource, String) - Constructor for class org.custommonkey.xmlunit.Validator
Extended constructor.
Validator(InputSource, String, String) - Constructor for class org.custommonkey.xmlunit.Validator
Full constructor.
Validator(Reader, String, String) - Constructor for class org.custommonkey.xmlunit.Validator
Full constructor.
Validator - Class in org.xmlunit.validation
Validates a piece of XML against a schema given in a supported language or the definition of such a schema itself.
Validator() - Constructor for class org.xmlunit.validation.Validator
 
valueOf(String) - Static method in class org.custommonkey.xmlunit.QualifiedName
Parses strings of the form "{NS-URI}LOCAL-NAME" or "prefix:localName" as QualifiedNames.
valueOf(String, NamespaceContext) - Static method in class org.custommonkey.xmlunit.QualifiedName
Parses strings of the form "{NS-URI}LOCAL-NAME" or "prefix:localName" as QualifiedNames.
valueOf(String) - Static method in enum org.xmlunit.diff.ComparisonResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.xmlunit.diff.ComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.xmlunit.validation.ValidationProblem.ProblemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xmlunit.diff.ComparisonResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.xmlunit.diff.ComparisonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.xmlunit.validation.ValidationProblem.ProblemType
Returns an array containing the constants of this enum type, in the order they are declared.
visited(Node) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Call when visiting a node whose xpath location needs tracking Delegates to visitedAttribute for attribute nodes, visitedNode for elements, texts, CDATA sections, comments or processing instructions and ignores any other type of node.
visitedAttribute(String) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Invoked by visited when visiting an attribute node.
visitedNode(Node, String) - Method in class org.custommonkey.xmlunit.XpathNodeTracker
Invoked by visited when visited is an element, text, CDATA section, comment or processing instruction.

W

W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"noNamespaceSchemaLocation"
W3C_XML_SCHEMA_INSTANCE_NS_URI - Static variable in interface org.custommonkey.xmlunit.XMLConstants
http://www.w3.org/2001/XMLSchema-instance
W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"schemaLocation"
W3C_XML_SCHEMA_NS_URI - Static variable in interface org.custommonkey.xmlunit.XMLConstants
http://www.w3.org/2001/XMLSchema
W3C_XML_SCHEMA_NS_URI - Static variable in class org.xmlunit.validation.Languages
W3C XML Schema.
when(Predicate<? super Element>) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
Sets up a conditional ElementSelector.
whenElementIsNamed(String) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
Sets up a conditional ElementSelector.
whenElementIsNamed(QName) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
Sets up a conditional ElementSelector.
WhitespaceNormalizedSource - Class in org.xmlunit.input
A source that is obtained from a different source by removing all empty text nodes and normalizing the non-empty ones.
WhitespaceNormalizedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
Creates a new source that consists of the given source with all whitespace characters replaced by spaces and consecutive whitespace characters collapsed.
WhitespaceNormalizedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
Creates a new source that consists of the given source with all whitespace characters replaced by spaces and consecutive whitespace characters collapsed.
WhitespaceStrippedSource - Class in org.xmlunit.input
A source that is obtained from a different source by removing all empty text nodes and trimming the non-empty ones.
WhitespaceStrippedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
Creates a new source that consists of the given source with all empty text nodes removed and all non-empty text nodes trimmed.
WhitespaceStrippedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
Creates a new source that consists of the given source with all empty text nodes removed and all non-empty text nodes trimmed.
withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.builder.DiffBuilder
Registers a filter for attributes.
withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.matchers.CompareMatcher
 
withComparisonController(ComparisonController) - Method in class org.xmlunit.builder.DiffBuilder
Replace the ComparisonControllers.Default with your own ComparisonController.
withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.builder.DiffBuilder
Sets a non-default formatter for the differences found.
withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.matchers.CompareMatcher
Use a custom Formatter for the Error Messages.
withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
Registers a listener that is notified of each comparison.
withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.builder.DiffBuilder
Provide your own custom DifferenceEvaluator implementation.
withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
Registers a listener that is notified of each comparison with outcome other than ComparisonResult.EQUAL.
withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.builder.DiffBuilder
Sets the DocumentBuilderFactory to use when creating a Document from the Sources to compare.
withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.CompareMatcher
 
withMarshaller(Marshaller) - Method in class org.xmlunit.builder.JaxbBuilder
Sets a non-default Marshaller to use when creating the Source.
withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.builder.DiffBuilder
Establish a namespace context that will be used in Comparison.Detail#getXPath.
withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.CompareMatcher
 
withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
Utility method used for creating a namespace context mapping to be used in XPath matching.
withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.HasXPathMatcher
Utility method used for creating a namespace context mapping to be used in XPath matching.
withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.builder.DiffBuilder
Registers a filter for nodes.
withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.matchers.CompareMatcher
 
withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.builder.DiffBuilder
Sets the strategy for selecting nodes to compare.
withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.matchers.CompareMatcher
 
withOutputProperty(String, String) - Method in interface org.xmlunit.builder.TransformationBuilderBase
Adds an output property.
withParameter(String, Object) - Method in interface org.xmlunit.builder.TransformationBuilderBase
Adds a parameter.
withStylesheet(Input.Builder) - Method in interface org.xmlunit.builder.Input.TransformationBuilder
Sets the stylesheet to use.
withStylesheet(Source) - Method in interface org.xmlunit.builder.TransformationBuilderBase
Sets the stylesheet to use.
withTest(Object) - Method in class org.xmlunit.builder.DiffBuilder
Set the Test-Source from all kind of types supported by Input.from(Object).
withURIResolver(URIResolver) - Method in interface org.xmlunit.builder.TransformationBuilderBase
Sets the resolver to use for the document() function and xsi:import/include.

X

XML_DECLARATION - Static variable in interface org.custommonkey.xmlunit.XMLConstants
<?
XML_DTD_NS_URI - Static variable in class org.xmlunit.validation.Languages
DTD
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.
XMLUnitException - Exception in org.custommonkey.xmlunit.exceptions
Base class of any checked exception that can be thrown within XMLUnit.
XMLUnitException(String, Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.XMLUnitException
Inititializes the exeption.
XMLUnitException - Exception in org.xmlunit
Base class of any Exception thrown within XMLUnit.
XMLUnitException(String, Throwable) - Constructor for exception org.xmlunit.XMLUnitException
Inititializes the exception.
XMLUnitException(String) - Constructor for exception org.xmlunit.XMLUnitException
Inititializes an exception without cause.
XMLUnitException(Throwable) - Constructor for exception org.xmlunit.XMLUnitException
Inititializes an exception using the wrapped exception's message.
XMLUnitNamespaceContext2Jaxp13 - Class in org.custommonkey.xmlunit.jaxp13
XMLUnitNamespaceContext2Jaxp13(NamespaceContext) - Constructor for class org.custommonkey.xmlunit.jaxp13.XMLUnitNamespaceContext2Jaxp13
 
XMLUnitRuntimeException - Exception in org.custommonkey.xmlunit.exceptions
Base class of any RuntimeException that can be thrown within XMLUnit.
XMLUnitRuntimeException(String, Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.XMLUnitRuntimeException
Inititializes the exeption.
XMLUnitRuntimeException(String) - Constructor for exception org.custommonkey.xmlunit.exceptions.XMLUnitRuntimeException
Inititializes an exeption without cause.
xor(ElementSelector, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
Accepts two elements if exactly on of the given ElementSelectors does.
XPATH_ATTRIBUTE_IDENTIFIER - Static variable in interface org.custommonkey.xmlunit.XMLConstants
"@"
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
"/"
XPathContext - Class in org.xmlunit.diff
Helper class that keeps track of the XPath of matched nodes during comparison.
XPathContext() - Constructor for class org.xmlunit.diff.XPathContext
Starts with an empty context.
XPathContext(Node) - Constructor for class org.xmlunit.diff.XPathContext
Starts with the context of a root node.
XPathContext(Map<String, String>) - Constructor for class org.xmlunit.diff.XPathContext
Starts with an empty context and a given namespace mapping.
XPathContext(Map<String, String>, Node) - Constructor for class org.xmlunit.diff.XPathContext
Starts with the context of an optional root node and an optional namespace mapping.
XPathContext.DOMNodeInfo - Class in org.xmlunit.diff
DOM based implementation of XPathContext.NodeInfo.
XPathContext.NodeInfo - Interface in org.xmlunit.diff
Representation of a node used by XPathContext.
XpathEngine - Interface in org.custommonkey.xmlunit
Abstraction of an engine evaluating XPath expressions.
XPathEngine - Interface in org.xmlunit.xpath
Interface for XMLUnit's XPath abstraction.
XpathException - Exception in org.custommonkey.xmlunit.exceptions
Exception an XpathEngine is allowed to throw.
XpathException(Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.XpathException
Inititializes the exception.
XpathException(String) - Constructor for exception org.custommonkey.xmlunit.exceptions.XpathException
Inititializes the exception.
XpathException(String, Throwable) - Constructor for exception org.custommonkey.xmlunit.exceptions.XpathException
Inititializes the exception.
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
XPathRegexAssert - Class in org.custommonkey.xmlunit.examples
Example demonstrating how to use the XPath API of XMLUnit in conjunction with regular expressions (as provided by the java.util.regex package of JDK 1.4+).
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 ... version="1.0">
XSLT_START_NO_VERSION - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:stylesheet
XSLT_STRIP_COMMENTS_TEMPLATE - Static variable in interface org.custommonkey.xmlunit.XSLTConstants
<xsl:template> to copy the current nodeset into the output tree while stripping comments.
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 J L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2001–2017 XMLUnit. All rights reserved.