Class AbstractXPathMessageSelector
java.lang.Object
org.springframework.integration.xml.selector.AbstractXPathMessageSelector
- All Implemented Interfaces:
GenericSelector<Message<?>>
,MessageSelector
- Direct Known Subclasses:
BooleanTestXPathMessageSelector
,RegexTestXPathMessageSelector
,StringValueTestXPathMessageSelector
public abstract class AbstractXPathMessageSelector extends Object implements MessageSelector
Base class for XPath
MessageSelector
implementations.- Author:
- Jonas Partner
-
Constructor Summary
Constructors Constructor Description AbstractXPathMessageSelector(String xPathExpression)
AbstractXPathMessageSelector(String xPathExpression, String prefix, String namespace)
AbstractXPathMessageSelector(String xPathExpression, Map<String,String> namespaces)
AbstractXPathMessageSelector(XPathExpression xPathExpression)
-
Method Summary
Modifier and Type Method Description protected XmlPayloadConverter
getConverter()
protected XPathExpression
getXPathExpresion()
void
setConverter(XmlPayloadConverter converter)
Specify the converter used to convert payloads prior to XPath testing.
-
Constructor Details
-
AbstractXPathMessageSelector
- Parameters:
xPathExpression
- XPath expression as a String
-
AbstractXPathMessageSelector
- Parameters:
xPathExpression
- XPath expression as a Stringprefix
- namespace prefixnamespace
- namespace URI
-
AbstractXPathMessageSelector
- Parameters:
xPathExpression
- XPath expression as a Stringnamespaces
- Map of namespaces with prefixes as the Map keys
-
AbstractXPathMessageSelector
- Parameters:
xPathExpression
- XPath expression
-
-
Method Details
-
setConverter
Specify the converter used to convert payloads prior to XPath testing.- Parameters:
converter
- The payload converter.
-
getConverter
-
getXPathExpresion
-