Skip navigation links
A C D E H I M N O T V W 

A

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(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(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(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.

C

CompareMatcher - Class in org.xmlunit.matchers
This Hamcrest Matcher compares two XML sources with each others.
convert(String) - Method in class org.xmlunit.matchers.TypeMatcher
 

D

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
 

E

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.

H

hasXPath(String, Matcher<String>) - Static method in class org.xmlunit.matchers.EvaluateXPathMatcher
Creates a matcher that matches when the examined XML input has a value at the specified xPath that satisfies the specified valueMatcher.
hasXPath(String) - Static method in class org.xmlunit.matchers.HasXPathMatcher
Creates a matcher that matches when the examined XML input has at least one node corresponding to the specified xPath.
HasXPathMatcher - Class in org.xmlunit.matchers
This Hamcrest Matcher verifies whether the provided XPath expression corresponds to at least one element in the provided object.
HasXPathMatcher(String) - Constructor for class org.xmlunit.matchers.HasXPathMatcher
Creates a HasXPathMatcher instance with the associated XPath expression.

I

ignoreComments() - Method in class org.xmlunit.matchers.CompareMatcher
 
ignoreCommentsUsingXSLTVersion(String) - Method in class org.xmlunit.matchers.CompareMatcher
 
ignoreElementContentWhitespace() - Method in class org.xmlunit.matchers.CompareMatcher
 
ignoreWhitespace() - Method in class org.xmlunit.matchers.CompareMatcher
 
isIdenticalTo(Object) - Static method in class org.xmlunit.matchers.CompareMatcher
Create a CompareMatcher which compares the test-Object with the given control Object for identity.
isSimilarTo(Object) - Static method in class org.xmlunit.matchers.CompareMatcher
Create a CompareMatcher which compares the test-Object with the given control Object for similarity.

M

matches(Object) - Method in class org.xmlunit.matchers.CompareMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.HasXPathMatcher
 
matches(Object) - Method in class org.xmlunit.matchers.ValidationMatcher
 
matchesSafely(String) - Method in class org.xmlunit.matchers.TypeMatcher
 

N

normalizeWhitespace() - Method in class org.xmlunit.matchers.CompareMatcher
 

O

org.xmlunit.matchers - package org.xmlunit.matchers
Hamcrest matchers on top of XMLUnit's core.

T

throwComparisonFailure() - Method in class org.xmlunit.matchers.CompareMatcher
Instead of Matcher returning false a org.junit.ComparisonFailure will be thrown.
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
 

V

valid(Object) - Static method in class org.xmlunit.matchers.ValidationMatcher
 
valid(Schema) - Static method in class org.xmlunit.matchers.ValidationMatcher
 
ValidationMatcher - Class in org.xmlunit.matchers
Hamcrest Matcher for XML Validation against W3C XML Schema using JAXPValidator.
ValidationMatcher(Object...) - Constructor for class org.xmlunit.matchers.ValidationMatcher
 
ValidationMatcher(Schema) - Constructor for class org.xmlunit.matchers.ValidationMatcher
 

W

withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.matchers.CompareMatcher
 
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.matchers.CompareMatcher
Use a custom Formatter for the Error Messages.
withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.CompareMatcher
 
withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
Sets the DocumentBuilderFactory to use when creating a Document from the XML input.
withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
Sets the DocumentBuilderFactory to use when creating a Document from the XML input.
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.matchers.CompareMatcher
 
withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.matchers.CompareMatcher
 
withXPathFactory(XPathFactory) - Method in class org.xmlunit.matchers.EvaluateXPathMatcher
Sets the XPathFactory to use.
withXPathFactory(XPathFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
Sets the XPathFactory to use.
A C D E H I M N O T V W 
Skip navigation links

Copyright © 2001–2020 XMLUnit. All rights reserved.