Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
static HasXPathMatcher |
HasXPathMatcher.hasXPath(java.lang.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(javax.xml.parsers.DocumentBuilderFactory f)
Sets the
DocumentBuilderFactory to use when creating a
Document from the XML input. |
HasXPathMatcher |
HasXPathMatcher.withNamespaceContext(java.util.Map<java.lang.String,java.lang.String> prefix2Uri)
Utility method used for creating a namespace context mapping to be used in XPath matching.
|
HasXPathMatcher |
HasXPathMatcher.withXPathFactory(javax.xml.xpath.XPathFactory f)
Sets the
XPathFactory to use. |