Class AbstractXPathMessageSelector
java.lang.Object
org.springframework.integration.xml.selector.AbstractXPathMessageSelector
- All Implemented Interfaces:
GenericSelector<Message<?>>
,MessageSelector
- Direct Known Subclasses:
BooleanTestXPathMessageSelector
,RegexTestXPathMessageSelector
,StringValueTestXPathMessageSelector
Base class for XPath
MessageSelector
implementations.- Author:
- Jonas Partner, Ngoc Nhan
-
Constructor Summary
ConstructorDescriptionAbstractXPathMessageSelector
(String xPathExpression) AbstractXPathMessageSelector
(String xPathExpression, String prefix, String namespace) AbstractXPathMessageSelector
(String xPathExpression, Map<String, String> namespaces) AbstractXPathMessageSelector
(XPathExpression xPathExpression) -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlPayloadConverter
protected XPathExpression
void
setConverter
(XmlPayloadConverter converter) Specify the converter used to convert payloads prior to XPath testing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.core.MessageSelector
accept
-
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
-