Uses of Class
org.xmlunit.matchers.HasXPathMatcher
-
Packages that use HasXPathMatcher Package Description org.xmlunit.matchers Hamcrest matchers on top of XMLUnit's core. -
-
Uses of HasXPathMatcher in org.xmlunit.matchers
Methods in org.xmlunit.matchers that return HasXPathMatcher Modifier and Type Method 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 specifiedxPath
.HasXPathMatcher
HasXPathMatcher. withDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory f)
Sets theDocumentBuilderFactory
to use when creating aDocument
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 theXPathFactory
to use.
-