Uses of Class
org.xmlunit.matchers.HasXPathMatcher
-
Uses of HasXPathMatcher in org.xmlunit.matchers
Modifier and TypeMethodDescriptionstatic HasXPathMatcher
Creates a matcher that matches when the examined XML input has at least one node corresponding to the specifiedxPath
.HasXPathMatcher.withDocumentBuilderFactory
(DocumentBuilderFactory f) Sets theDocumentBuilderFactory
to use when creating aDocument
from the XML input.HasXPathMatcher.withNamespaceContext
(Map<String, String> prefix2Uri) Utility method used for creating a namespace context mapping to be used in XPath matching.HasXPathMatcher.withXPathFactory
(XPathFactory f) Sets theXPathFactory
to use.