- 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.
- AcceptAll - Static variable in class org.xmlunit.diff.NodeFilters
-
Accepts all nodes.
- 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(Object) - Method in class org.xmlunit.assertj.XmlAssert
-
Create
CompareAssert
for given
control XML source and actual XML source.
- 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
-
- areIdentical() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are identical.
- areNotIdentical() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are not identical.
- areNotSimilar() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are not similar.
- areSimilar() - Method in class org.xmlunit.assertj.CompareAssert
-
Check if actual and control XMLs are similar.
- asBigDecimal(Matcher<? extends BigDecimal>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
BigDecimal
and converted value satisfies the specified
valueMatcher
.
- asBoolean() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assert
object that allows performing assertions on boolean value of the
String
under test.
- asBoolean(Matcher<? extends Boolean>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Boolean
and converted value satisfies the specified
valueMatcher
.
- asDouble() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assert
object that allows performing assertions on integer value of the
String
under test.
- asDouble(Matcher<? extends Double>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Double
and converted value satisfies the specified
valueMatcher
.
- asInt() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
Assert
object that allows performing assertions on integer value of the
String
under test.
- asInt(Matcher<? extends Integer>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Integer
and converted value satisfies the specified
valueMatcher
.
- 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
- assertThat(Object) - Static method in class org.xmlunit.assertj.XmlAssert
-
- 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
- asXml() - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
XmlAssert
object that allows performing assertions on XML value of the
String
under test.
- asXml(String) - Method in class org.xmlunit.assertj.ValueAssert
-
Returns an
XmlAssert
object that allows performing assertions on XML value of the
String
under test
wrapping around tag with name given in
wrapNodeName.
- 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 using an XSLT stylesheet of version 2.0.
- CommentLessSource(Source, String) - 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
-
- CompareAssert - Class in org.xmlunit.assertj
-
Assertion methods for XMLs comparision.
- 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
-
- ConfigurationException(String, Throwable) - Constructor for exception org.xmlunit.ConfigurationException
-
- configure(DocumentBuilderFactory) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer
-
Applies the current configuration.
- configure(TransformerFactory) - Method in class org.xmlunit.util.TransformerFactoryConfigurer
-
Applies the current configuration.
- containsAllNodesHavingXPath(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all of actual nodes have given xPath
.
- containsAnyNodeHavingXPath(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that any of actual nodes has given xPath
.
- convert(String) - Method in class org.xmlunit.matchers.TypeMatcher
-
- 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.
- Default - Static variable in class org.xmlunit.util.DocumentBuilderFactoryConfigurer
-
The default instance.
- Default - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The default instance which disables DTD loading but still
allows loading of external stylesheets.
- 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
-
- describedAs(String, Object...) - Method in class org.xmlunit.assertj.ValueAssert
- 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
-
- describeMismatchSafely(String, Description) - Method in class org.xmlunit.matchers.TypeMatcher
-
- 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.TypeMatcher
-
- 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.
- DifferenceEngineConfigurer<D extends DifferenceEngineConfigurer<D>> - Interface in org.xmlunit.builder
-
Subset of the configuration options available for a DifferenceEngine
.
- 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
-
- DocumentBuilderFactoryConfigurer - Class in org.xmlunit.util
-
Configures DocumentBuilderFactories.
- DocumentBuilderFactoryConfigurer.Builder - Class in org.xmlunit.util
-
Builder for a DocumentBuilderFactoryConfigurer.
- doesNotHaveAttribute(String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has not attribute with given name.
- doesNotHaveAttribute(String, String) - Method in class org.xmlunit.assertj.SingleNodeAssert
-
Verifies that the actual node has not attribute with given name and value.
- doesNotHaveXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
- DOMDifferenceEngine - Class in org.xmlunit.diff
-
Difference engine based on DOM.
- DOMDifferenceEngine() - Constructor for class org.xmlunit.diff.DOMDifferenceEngine
-
- DOMDifferenceEngine(DocumentBuilderFactory) - Constructor for class org.xmlunit.diff.DOMDifferenceEngine
-
Creates a new DOMDifferenceEngine.
- DOMNodeInfo(Node) - Constructor for class org.xmlunit.diff.XPathContext.DOMNodeInfo
-
- doNotExist() - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Equivalent for AbstractIterableAssert.isEmpty()
.
- doNotHaveAttribute(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes don't have attribute with given name.
- doNotHaveAttribute(String, String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Verifies that all the actual nodes don't have attribute with given name and value.
- 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.
- ELEMENT_NUM_ATTRIBUTES - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
-
Comparing 2 elements with different number of attributes
- ELEMENT_NUM_ATTRIBUTES_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
-
Comparing 2 elements with different number of attributes
- ELEMENT_TAG_NAME - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
-
Comparing 2 elements with different tag names
- ELEMENT_TAG_NAME_ID - Static variable in interface org.custommonkey.xmlunit.DifferenceConstants
-
Comparing 2 elements with different tag names
- ElementContentWhitespaceStrippedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all
text nodes that only contain whitespace.
- ElementContentWhitespaceStrippedSource(Source) - Constructor for class org.xmlunit.input.ElementContentWhitespaceStrippedSource
-
Creates a new source that consists of the given source with all
text nodes that only contain whitespace stripped.
- ElementContentWhitespaceStrippedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.ElementContentWhitespaceStrippedSource
-
Creates a new source that consists of the given source with all
text nodes that only contain whitespace stripped.
- ElementNameAndAttributeQualifier - Class in org.custommonkey.xmlunit
-
More complex interface implementation that tests two elements for tag name
and attribute name comparability.
- ElementNameAndAttributeQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
-
No-args constructor: use all attributes from all elements to determine
whether elements qualify for comparability
- ElementNameAndAttributeQualifier(String) - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
-
Simple constructor for a single qualifying attribute name
- ElementNameAndAttributeQualifier(String[]) - Constructor for class org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
-
Extended constructor for multiple qualifying attribute names
- ElementNameAndTextQualifier - Class in org.custommonkey.xmlunit
-
More complex interface implementation that tests two elements for tag name
and text content comparability.
- ElementNameAndTextQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameAndTextQualifier
-
- ElementNameQualifier - Class in org.custommonkey.xmlunit
-
Simple interface implementation that tests two elements for name
comparability.
- ElementNameQualifier() - Constructor for class org.custommonkey.xmlunit.ElementNameQualifier
-
- ElementQualifier - Interface in org.custommonkey.xmlunit
-
Interface used by the DifferenceEngine class to determine which elements can
be compared within a NodeList of child nodes.
- ElementQualifier2ElementSelector(ElementQualifier) - Constructor for class org.custommonkey.xmlunit.NewDifferenceEngine.ElementQualifier2ElementSelector
-
- ElementSelector - Interface in org.xmlunit.diff
-
- ElementSelectors - Class in org.xmlunit.diff
-
Common ElementSelector implementations.
- ElementSelectors.ConditionalSelectorBuilder - Interface in org.xmlunit.diff
-
- ElementSelectors.ConditionalSelectorBuilderThen - Interface in org.xmlunit.diff
-
- elseUse(ElementSelector) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Assigns a default ElementSelector that is used if all
when
s have returned false.
- EMPTY_CONTEXT - Static variable in class org.custommonkey.xmlunit.SimpleNamespaceContext
-
An empty context containing no prefixes at all.
- END_CDATA - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
"]]"
- END_COMMENT - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
"--""
- END_PROCESSING_INSTRUCTION - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
"?"
- endCDATA() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
Unhandled LexicalHandler method
- endDocument() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
ContentHandler method
- endDTD() - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
Unhandled LexicalHandler method
- endElement(String, String, String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
ContentHandler method
- endEntity(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
Unhandled LexicalHandler method
- endPrefixMapping(String) - Method in class org.custommonkey.xmlunit.TolerantSaxDocumentBuilder
-
Unhandled ContentHandler method
- equals(Object) - Method in class org.custommonkey.xmlunit.Difference
-
Now that Differences can be constructed from prototypes
we need to be able to compare them to those in DifferenceConstants
- equals(Object) - Method in class org.custommonkey.xmlunit.QualifiedName
-
- equals(Object) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
- equalsNamespace(Node, Node) - Method in class org.custommonkey.xmlunit.ElementNameQualifier
-
Determine whether two nodes are defined by the same namespace URI
- evaluate(Difference) - Method in class org.custommonkey.xmlunit.Diff
-
- evaluate(String, Document) - Method in class org.custommonkey.xmlunit.jaxp13.Jaxp13XpathEngine
-
Evaluate the result of executing the specified xpath syntax
select
expression on the specified document
- evaluate(Comparison, ComparisonResult) - Method in class org.custommonkey.xmlunit.NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
-
- evaluate(String, Document) - Method in class org.custommonkey.xmlunit.SimpleXpathEngine
-
Evaluate the result of executing the specified xpath syntax
select
expression on the specified document
- evaluate(String, Document) - Method in interface org.custommonkey.xmlunit.XpathEngine
-
Evaluate the result of executing the specified xpath syntax
select
expression on the specified document
- evaluate(Comparison, ComparisonResult) - Method in interface org.xmlunit.diff.DifferenceEvaluator
-
May alter the outcome of a comparison.
- evaluate(String, String...) - Method in class org.xmlunit.placeholder.IgnorePlaceholderHandler
-
- evaluate(String, String...) - Method in class org.xmlunit.placeholder.IsDateTimePlaceholderHandler
-
- evaluate(String, String...) - Method in class org.xmlunit.placeholder.IsNumberPlaceholderHandler
-
- evaluate(String, String...) - Method in class org.xmlunit.placeholder.MatchesRegexPlaceholderHandler
-
- evaluate(Comparison, ComparisonResult) - Method in class org.xmlunit.placeholder.PlaceholderDifferenceEvaluator
-
- evaluate(String, String...) - Method in interface org.xmlunit.placeholder.PlaceholderHandler
-
Evaluate the test value when control contained the placeholder
handled by this class.
- evaluate(String, Source) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Node) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Source) - Method in interface org.xmlunit.xpath.XPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Node) - Method in interface org.xmlunit.xpath.XPathEngine
-
Evaluates an XPath expression and stringifies the result.
- EvaluateXPathMatcher - Class in org.xmlunit.matchers
-
This Hamcrest Matcher
verifies whether the evaluation of the provided XPath expression
corresponds to the value matcher specified for the provided input XML object.
- EvaluateXPathMatcher(String, Matcher<String>) - Constructor for class org.xmlunit.matchers.EvaluateXPathMatcher
-
Creates a
EvaluateXPathMatcher
instance with the associated XPath expression and
the value matcher corresponding to the XPath evaluation.
- exist() - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Equivalent for AbstractIterableAssert.isNotEmpty()
.
- extractingAttribute(String) - Method in class org.xmlunit.assertj.MultipleNodeAssert
-
Extracting values of given node's attribute.
- extractText(Element) - Method in class org.custommonkey.xmlunit.ElementNameAndTextQualifier
-
Extract the normalized text from within an element
- 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
-
- getEnableXXEProtection() - Static method in class org.custommonkey.xmlunit.XMLUnit
-
Whether XXE protection is enabled on the factories used by this class.
- 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.
- getKeyword() - Method in class org.xmlunit.placeholder.IgnorePlaceholderHandler
-
- getKeyword() - Method in class org.xmlunit.placeholder.IsDateTimePlaceholderHandler
-
- getKeyword() - Method in class org.xmlunit.placeholder.IsNumberPlaceholderHandler
-
- getKeyword() - Method in class org.xmlunit.placeholder.MatchesRegexPlaceholderHandler
-
- getKeyword() - Method in interface org.xmlunit.placeholder.PlaceholderHandler
-
The placeholder keyword this handler is responsible for.
- 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.
- nodesByXPath(String) - Method in class org.xmlunit.assertj.XmlAssert
-
- 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.
- NoExternalAccess - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The instance which disables DTD loading as well as loading of
external stylesheets.
- 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.assertj.CompareAssert
- 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
- setEnableXXEProtection(boolean) - Static method in class org.custommonkey.xmlunit.XMLUnit
-
Whether to enable XXE protection on the factories used by this class.
- 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.
- ShouldAnyNodeHaveXPath - Class in org.xmlunit.assertj.error
-
- shouldAnyNodeHaveXPath(String) - Static method in class org.xmlunit.assertj.error.ShouldAnyNodeHaveXPath
-
- ShouldBeConvertible - Class in org.xmlunit.assertj.error
-
- shouldBeConvertible(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeConvertible
-
- shouldBeIdentical(String, String, Comparison, ComparisonFormatter, boolean) - Static method in class org.xmlunit.assertj.error.ShouldBeSimilar
-
- ShouldBeInvalid - Class in org.xmlunit.assertj.error
-
- shouldBeInvalid(String) - Static method in class org.xmlunit.assertj.error.ShouldBeInvalid
-
- shouldBeNotIdentical(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeNotSimilar
-
- ShouldBeNotSimilar - Class in org.xmlunit.assertj.error
-
- shouldBeNotSimilar(String, String) - Static method in class org.xmlunit.assertj.error.ShouldBeNotSimilar
-
- ShouldBeSimilar - Class in org.xmlunit.assertj.error
-
- shouldBeSimilar(String, String, Comparison, ComparisonFormatter, boolean) - Static method in class org.xmlunit.assertj.error.ShouldBeSimilar
-
- ShouldBeValid - Class in org.xmlunit.assertj.error
-
- shouldBeValid(String, Iterable<ValidationProblem>) - Static method in class org.xmlunit.assertj.error.ShouldBeValid
-
- ShouldHaveAttribute - Class in org.xmlunit.assertj.error
-
- shouldHaveAttribute(String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveAttribute
-
- shouldHaveAttributeWithValue(String, String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveAttribute
-
- ShouldHaveXPath - Class in org.xmlunit.assertj.error
-
- shouldHaveXPath(String, String) - Static method in class org.xmlunit.assertj.error.ShouldHaveXPath
-
- ShouldNotHaveAttribute - Class in org.xmlunit.assertj.error
-
- shouldNotHaveAttribute(String, String) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveAttribute
-
- shouldNotHaveAttributeWithValue(String, String, String) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveAttribute
-
- ShouldNotHaveThrown - Class in org.xmlunit.assertj.error
-
- shouldNotHaveThrown(Throwable) - Static method in class org.xmlunit.assertj.error.ShouldNotHaveThrown
-
- 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
-
- SingleNodeAssert - Class in org.xmlunit.assertj
-
Assertion methods for
Node
.
- 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.
- stripElementContentWhitespace(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 text or CDATA
nodes that only consist of whitespace.
- 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.
- TransformerFactoryConfigurer - Class in org.xmlunit.util
-
Configures TransformerFactories.
- TransformerFactoryConfigurer.Builder - Class in org.xmlunit.util
-
Builder for a TransformerFactoryConfigurer.
- 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.
- TypeMatcher<T> - Class in org.xmlunit.matchers
-
This Hamcrest Matcher
is base Matcher to verify
whether examined string value is convertible to the specified type
and whether converted value corresponds to the given value valueMatcher.
- TypeMatcher(Class<T>, Matcher<? extends T>) - Constructor for class org.xmlunit.matchers.TypeMatcher
-
- W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
"noNamespaceSchemaLocation"
- W3C_XML_SCHEMA_INSTANCE_NS_URI - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
http://www.w3.org/2001/XMLSchema-instance
- W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
"schemaLocation"
- W3C_XML_SCHEMA_NS_URI - Static variable in interface org.custommonkey.xmlunit.XMLConstants
-
http://www.w3.org/2001/XMLSchema
- W3C_XML_SCHEMA_NS_URI - Static variable in class org.xmlunit.validation.Languages
-
W3C XML Schema.
- when(Predicate<? super Element>) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- whenElementIsNamed(String) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- whenElementIsNamed(QName) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- WhitespaceNormalizedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all
empty text nodes and normalizing the non-empty ones.
- WhitespaceNormalizedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
-
Creates a new source that consists of the given source with all
whitespace characters replaced by spaces and consecutive
whitespace characters collapsed.
- WhitespaceNormalizedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
-
Creates a new source that consists of the given source with all
whitespace characters replaced by spaces and consecutive
whitespace characters collapsed.
- WhitespaceStrippedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all
empty text nodes and trimming the non-empty ones.
- WhitespaceStrippedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
-
Creates a new source that consists of the given source with all
empty text nodes removed and all non-empty text nodes trimmed.
- WhitespaceStrippedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
-
Creates a new source that consists of the given source with all
empty text nodes removed and all non-empty text nodes trimmed.
- withAttribute(String, Object) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
- withAttribute(String, Object) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
- withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.assertj.CompareAssert
-
Registers a filter for attributes.
- withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers a filter for attributes.
- withAttributeFilter(Predicate<Attr>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers a filter for attributes.
- withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withComparisonController(ComparisonController) - Method in class org.xmlunit.assertj.CompareAssert
-
Replace the ComparisonControllers#Default
with your own ComparisonController.
- withComparisonController(ComparisonController) - Method in class org.xmlunit.builder.DiffBuilder
-
- withComparisonController(ComparisonController) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Replace the ComparisonControllers#Default
with your own ComparisonController.
- withComparisonController(ComparisonController) - Method in class org.xmlunit.matchers.CompareMatcher
-
Throws an exception as you the
ComparisonController
is
completely determined by the factory method used.
- withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.assertj.CompareAssert
-
Sets a non-default formatter for the differences found.
- withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.builder.DiffBuilder
-
Sets a non-default formatter for the differences found.
- withComparisonFormatter(ComparisonFormatter) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Sets a non-default formatter for the differences found.
- withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.matchers.CompareMatcher
-
Use a custom Formatter for the Error Messages.
- withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.assertj.CompareAssert
-
Registers listeners that are notified of each comparison.
- withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers listeners that are notified of each comparison.
- withComparisonListeners(ComparisonListener...) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers listeners that are notified of each comparison.
- withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.assertj.CompareAssert
-
- withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.builder.DiffBuilder
-
- withDifferenceEvaluator(DifferenceEvaluator) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.assertj.CompareAssert
-
- withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
-
- withDifferenceListeners(ComparisonListener...) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.assertj.CompareAssert
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.assertj.XmlAssert
-
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.builder.DiffBuilder
-
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
-
- withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
-
- withDTDLoadingDisabled() - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory to not load any external DTDs.
- withDTDLoadingDisabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to not load any external DTDs.
- withDTDParsingDisabled() - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory to not parse any DTDs.
- withExpandEntityReferences(boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configure whether the factory's expands entity references.
- withExternalStylesheetLoadingDisabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to not parse any DTDs.
- withFeature(String, boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
- withFeature(String, boolean) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
- withMarshaller(Marshaller) - Method in class org.xmlunit.builder.JaxbBuilder
-
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.assertj.CompareAssert
-
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.assertj.XmlAssert
-
Utility method used for creating a namespace context mapping to be used in XPath matching.
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.builder.DiffBuilder
-
- withNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
-
Utility method used for creating a namespace context mapping to be used in XPath matching.
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.matchers.HasXPathMatcher
-
Utility method used for creating a namespace context mapping to be used in XPath matching.
- withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.assertj.CompareAssert
-
Registers a filter for nodes.
- withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers a filter for nodes.
- withNodeFilter(Predicate<Node>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers a filter for nodes.
- withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.assertj.CompareAssert
-
Sets the strategy for selecting nodes to compare.
- withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.builder.DiffBuilder
-
Sets the strategy for selecting nodes to compare.
- withNodeMatcher(NodeMatcher) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Sets the strategy for selecting nodes to compare.
- withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.matchers.CompareMatcher
-
- withOutputProperty(String, String) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Adds an output property.
- withParameter(String, Object) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Adds a parameter.
- withPlaceholderSupport(D) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withPlaceholderSupportChainedAfter(D, DifferenceEvaluator) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withPlaceholderSupportUsingDelimiters(D, String, String) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withPlaceholderSupportUsingDelimiters(D, String, String, String, String, String) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withPlaceholderSupportUsingDelimitersChainedAfter(D, String, String, DifferenceEvaluator) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withPlaceholderSupportUsingDelimitersChainedAfter(D, String, String, String, String, String, DifferenceEvaluator) - Static method in class org.xmlunit.placeholder.PlaceholderSupport
-
- withSafeAttribute(String, Object) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given attribute if it is
supported.
- withSafeAttribute(String, Object) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given attribute if it is
supported.
- withSafeFeature(String, boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given feature if it is
supported.
- withSafeFeature(String, boolean) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given feature if it is
supported.
- withStylesheet(Input.Builder) - Method in interface org.xmlunit.builder.Input.TransformationBuilder
-
Sets the stylesheet to use.
- withStylesheet(Source) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Sets the stylesheet to use.
- withTest(Object) - Method in class org.xmlunit.builder.DiffBuilder
-
- withURIResolver(URIResolver) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Sets the resolver to use for the document() function and
xsi:import/include.
- withXIncludeAware(boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configure the factory's XInclude awareness.
- withXPathFactory(XPathFactory) - Method in class org.xmlunit.assertj.XmlAssert
-
- withXPathFactory(XPathFactory) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
-
- withXPathFactory(XPathFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
-
- 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
-
- XmlAssert - Class in org.xmlunit.assertj
-
Entry point for fluent interface for writing assertions based on AssertJ library.
- 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