Index
All Classes and Interfaces|All Packages
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
BigDecimaland converted value satisfies the specifiedvalueMatcher. - asBoolean(Matcher<? extends Boolean>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Booleanand converted value satisfies the specifiedvalueMatcher. - asDouble(Matcher<? extends Double>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Doubleand converted value satisfies the specifiedvalueMatcher. - asInt(Matcher<? extends Integer>) - Static method in class org.xmlunit.matchers.TypeMatcher
-
Creates a matcher that matches when the examined string is convertible to
Integerand converted value satisfies the specifiedvalueMatcher.
C
- CompareMatcher - Class in org.xmlunit.matchers
-
This Hamcrest
Matchercompares two XML sources with each others. - convert(String) - Method in class org.xmlunit.matchers.TypeMatcher
-
Converts the item.
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
Matcherverifies 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
EvaluateXPathMatcherinstance with the associated XPath expression and the value matcher corresponding to the XPath evaluation.
H
- 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. - 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
xPaththat satisfies the specifiedvalueMatcher. - HasXPathMatcher - Class in org.xmlunit.matchers
-
This Hamcrest
Matcherverifies 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
HasXPathMatcherinstance 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
CompareMatcherwhich compares the test-Object with the given control Object for identity. - isSimilarTo(Object) - Static method in class org.xmlunit.matchers.CompareMatcher
-
Create a
CompareMatcherwhich 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
falseaorg.junit.ComparisonFailurewill be thrown. - TypeMatcher<T> - Class in org.xmlunit.matchers
-
This Hamcrest
Matcheris 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
-
Creates a matcher that validates the XML under test.
- valid(Schema) - Static method in class org.xmlunit.matchers.ValidationMatcher
-
Creates a matcher that validates the XML under test.
- 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
ComparisonControlleris 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
DocumentBuilderFactoryto use when creating aDocumentfrom the XML input. - withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
-
Sets the
DocumentBuilderFactoryto use when creating aDocumentfrom 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
XPathFactoryto use. - withXPathFactory(XPathFactory) - Method in class org.xmlunit.matchers.HasXPathMatcher
-
Sets the
XPathFactoryto use.
All Classes and Interfaces|All Packages