| Package | Description |
|---|---|
| org.xmlmatchers | |
| org.xmlmatchers.xpath |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<Source> |
XmlMatchers.hasXPath(String xPath,
NamespaceContext namespaceContext,
XpathReturnType<? super T> xpathReturnType,
org.hamcrest.Matcher<? super T> valueMatcher) |
static <T> org.hamcrest.Matcher<Source> |
XmlMatchers.hasXPath(String xPath,
XpathReturnType<? super T> xpathReturnType,
org.hamcrest.Matcher<? super T> valueMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static XpathReturnType<Boolean> |
XpathReturnType.returningABoolean() |
static XpathReturnType<Double> |
XpathReturnType.returningANumber() |
static XpathReturnType<String> |
XpathReturnType.returningAnXmlNode()
Warning: The return type passed to subsequent matchers will actually be a
Source rather than a Node.
|
static XpathReturnType<String> |
XpathReturnType.returningAString() |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<Source> |
HasXPath.hasXPath(String xPath,
NamespaceContext namespaceContext,
XpathReturnType<? super T> xpathReturnType,
org.hamcrest.Matcher<? super T> valueMatcher) |
static <T> org.hamcrest.Matcher<Source> |
HasXPath.hasXPath(String xPath,
XpathReturnType<? super T> xpathReturnType,
org.hamcrest.Matcher<? super T> valueMatcher) |
| Constructor and Description |
|---|
HasXPath(String xPathExpression,
org.hamcrest.Matcher<?> valueMatcher,
NamespaceContext namespaceContext,
XpathReturnType<?> xPathReturnType) |
Copyright © 2010-2013. All Rights Reserved.