- 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
-
- addDifferenceListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
- addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
- addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
- addMatchListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
- 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
-
- 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
-
- 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
-
- available() - Method in class org.custommonkey.xmlunit.NodeInputStream
-
InputStream method
- 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
-
- 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
-
- 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
-
- 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
-
- ComparisonListener - Interface in org.xmlunit.diff
-
Is notified of comparisions and their results.
- ComparisonListenerSupport - Class in org.xmlunit.diff
-
- 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
-
- 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.
- 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
-
- DefaultComparisonFormatter() - Constructor for class org.xmlunit.diff.DefaultComparisonFormatter
-
- DefaultNodeMatcher - Class in org.xmlunit.diff
-
- DefaultNodeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher(ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher(DefaultNodeMatcher.NodeTypeMatcher, ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher.DefaultNodeTypeMatcher - Class in org.xmlunit.diff
-
- 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
-
- 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
-
- differenceFound(Difference) - Method in class org.custommonkey.xmlunit.IgnoreTextAndAttributeValuesDifferenceListener
-
- DifferenceListener - Interface in org.custommonkey.xmlunit
-
- 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.
- 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
-
- getDetails(Comparison.Detail, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- 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
-
- 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
-
- 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.
- 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
-
""
- 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
-
- 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
-
- 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
-
- 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
-
- 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
- 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
-
- 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
-
- toString() - Method in class org.xmlunit.diff.Comparison
-
- 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
-
- toString() - Method in class org.xmlunit.diff.Difference
-
- 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
-
- 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.
- 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
-
- XPathContext.NodeInfo - Interface in org.xmlunit.diff
-
- 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
-
- 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