Class XPathExpectationsHelper
java.lang.Object
org.springframework.ws.test.support.matcher.XPathExpectationsHelper
Helper class for dealing with XPath expectations.
- Since:
- 2.0
- Author:
- Lukas Krecan, Arjen Poutsma
-
Constructor Summary
ConstructorsConstructorDescriptionXPathExpectationsHelper(String expression) Creates a new instance of theXPathExpectationsSupportwith the given XPath expression.XPathExpectationsHelper(String expression, Map<String, String> namespaces) Creates a new instance of theXPathExpectationsSupportwith the given XPath expression and namespaces. -
Method Summary
Modifier and TypeMethodDescriptionevaluatesTo(boolean expectedValue) evaluatesTo(double expectedValue) evaluatesTo(int expectedValue) evaluatesTo(String expectedValue) exists()
-
Constructor Details
-
XPathExpectationsHelper
Creates a new instance of theXPathExpectationsSupportwith the given XPath expression.- Parameters:
expression- the XPath expression
-
XPathExpectationsHelper
Creates a new instance of theXPathExpectationsSupportwith the given XPath expression and namespaces.- Parameters:
expression- the XPath expressionnamespaces- the namespaces, can be empty ornull
-
-
Method Details
-
exists
-
doesNotExist
-
evaluatesTo
-
evaluatesTo
-
evaluatesTo
-
evaluatesTo
-