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 SummaryConstructorsConstructorDescriptionXPathExpectationsHelper(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 SummaryModifier and TypeMethodDescriptionevaluatesTo(boolean expectedValue) evaluatesTo(double expectedValue) evaluatesTo(int expectedValue) evaluatesTo(String expectedValue) exists()
- 
Constructor Details- 
XPathExpectationsHelperCreates a new instance of theXPathExpectationsSupportwith the given XPath expression.- Parameters:
- expression- the XPath expression
 
- 
XPathExpectationsHelperCreates a new instance of theXPathExpectationsSupportwith the given XPath expression and namespaces.- Parameters:
- expression- the XPath expression
- namespaces- the namespaces, can be empty or- null
 
 
- 
- 
Method Details- 
exists
- 
doesNotExist
- 
evaluatesTo
- 
evaluatesTo
- 
evaluatesTo
- 
evaluatesTo
 
-