Uses of Class
org.xmlunit.matchers.HasXPathMatcher
-
Uses of HasXPathMatcher in org.xmlunit.matchers
Methods in org.xmlunit.matchers that return HasXPathMatcherModifier and TypeMethodDescriptionstatic HasXPathMatcherCreates a matcher that matches when the examined XML input has at least one node corresponding to the specifiedxPath.HasXPathMatcher.withDocumentBuilderFactory(DocumentBuilderFactory f) Sets theDocumentBuilderFactoryto use when creating aDocumentfrom 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 theXPathFactoryto use.