Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
static EvaluateXPathMatcher |
EvaluateXPathMatcher.hasXPath(String xPath,
org.hamcrest.Matcher<String> valueMatcher)
Creates a matcher that matches when the examined XML input has a value at the
specified
xPath that satisfies the specified valueMatcher . |
EvaluateXPathMatcher |
EvaluateXPathMatcher.withDocumentBuilderFactory(DocumentBuilderFactory f)
Sets the
DocumentBuilderFactory to use when creating a
Document from the XML input. |
EvaluateXPathMatcher |
EvaluateXPathMatcher.withNamespaceContext(Map<String,String> prefix2Uri)
Utility method used for creating a namespace context mapping to be used in XPath matching.
|
EvaluateXPathMatcher |
EvaluateXPathMatcher.withXPathFactory(XPathFactory f)
Sets the
XPathFactory to use. |
Copyright © 2001–2018 XMLUnit. All rights reserved.