org.springframework.ws.test.support.matcher
Class XPathExpectationsHelper
java.lang.Object
org.springframework.ws.test.support.matcher.XPathExpectationsHelper
public class XPathExpectationsHelper
- extends Object
Helper class for dealing with XPath expectations.
- Since:
- 2.0
- Author:
- Lukas Krecan, Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathExpectationsHelper
public XPathExpectationsHelper(String expression)
- Creates a new instance of the
XPathExpectationsSupport
with the given XPath expression.
- Parameters:
expression
- the XPath expression
XPathExpectationsHelper
public XPathExpectationsHelper(String expression,
Map<String,String> namespaces)
- Creates a new instance of the
XPathExpectationsSupport
with the given XPath expression and namespaces.
- Parameters:
expression
- the XPath expressionnamespaces
- the namespaces, can be empty or null
exists
public WebServiceMessageMatcher exists()
doesNotExist
public WebServiceMessageMatcher doesNotExist()
evaluatesTo
public WebServiceMessageMatcher evaluatesTo(boolean expectedValue)
evaluatesTo
public WebServiceMessageMatcher evaluatesTo(int expectedValue)
evaluatesTo
public WebServiceMessageMatcher evaluatesTo(double expectedValue)
evaluatesTo
public WebServiceMessageMatcher evaluatesTo(String expectedValue)
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.