Class AbstractXPathMessageSelector
java.lang.Object
org.springframework.integration.xml.selector.AbstractXPathMessageSelector
- All Implemented Interfaces:
org.springframework.integration.core.GenericSelector<org.springframework.messaging.Message<?>>, org.springframework.integration.core.MessageSelector
- Direct Known Subclasses:
BooleanTestXPathMessageSelector, RegexTestXPathMessageSelector, StringValueTestXPathMessageSelector
public abstract class AbstractXPathMessageSelector
extends Object
implements org.springframework.integration.core.MessageSelector
Base class for XPath
MessageSelector implementations.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractXPathMessageSelector(String xPathExpression) AbstractXPathMessageSelector(String xPathExpression, String prefix, String namespace) AbstractXPathMessageSelector(String xPathExpression, Map<String, String> namespaces) AbstractXPathMessageSelector(org.springframework.xml.xpath.XPathExpression xPathExpression) -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlPayloadConverterprotected org.springframework.xml.xpath.XPathExpressionvoidsetConverter(XmlPayloadConverter converter) Specify the converter used to convert payloads prior to XPath testing.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.core.MessageSelector
accept
-
Constructor Details
-
AbstractXPathMessageSelector
- Parameters:
xPathExpression- XPath expression as a String
-
AbstractXPathMessageSelector
-
AbstractXPathMessageSelector
-
AbstractXPathMessageSelector
public AbstractXPathMessageSelector(org.springframework.xml.xpath.XPathExpression xPathExpression) - Parameters:
xPathExpression- XPath expression
-
-
Method Details
-
setConverter
Specify the converter used to convert payloads prior to XPath testing.- Parameters:
converter- The payload converter.
-
getConverter
-
getXPathExpression
protected org.springframework.xml.xpath.XPathExpression getXPathExpression()
-