Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
static EvaluateXPathMatcher |
EvaluateXPathMatcher.hasXPath(java.lang.String xPath,
org.hamcrest.Matcher<java.lang.String> valueMatcher)
Creates a matcher that matches when the examined XML input has a value at the
specified
xPath that satisfies the specified valueMatcher . |
EvaluateXPathMatcher |
EvaluateXPathMatcher.withDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory f)
Sets the
DocumentBuilderFactory to use when creating a
Document from the XML input. |
EvaluateXPathMatcher |
EvaluateXPathMatcher.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.
|
EvaluateXPathMatcher |
EvaluateXPathMatcher.withXPathFactory(javax.xml.xpath.XPathFactory f)
Sets the
XPathFactory to use. |