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