org.springframework.integration.xml.selector
Class AbstractXPathMessageSelector
java.lang.Object
org.springframework.integration.xml.selector.AbstractXPathMessageSelector
- All Implemented Interfaces:
- MessageSelector
- Direct Known Subclasses:
- BooleanTestXPathMessageSelector, StringValueTestXPathMessageSelector
public abstract class AbstractXPathMessageSelector
- extends java.lang.Object
- implements MessageSelector
Base class for XPath MessageSelector
implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXPathMessageSelector
public AbstractXPathMessageSelector(java.lang.String xPathExpression)
- Parameters:
xPathExpression
- XPath expression as a String
AbstractXPathMessageSelector
public AbstractXPathMessageSelector(java.lang.String xPathExpression,
java.lang.String prefix,
java.lang.String namespace)
- Parameters:
xPathExpression
- XPath expression as a Stringprefix
- namespace prefixnamespace
- namespace URI
AbstractXPathMessageSelector
public AbstractXPathMessageSelector(java.lang.String xPathExpression,
java.util.Map<java.lang.String,java.lang.String> namespaces)
- Parameters:
xPathExpression
- XPath expression as a Stringnamespaces
- Map of namespaces with prefixes as the Map keys
AbstractXPathMessageSelector
public AbstractXPathMessageSelector(org.springframework.xml.xpath.XPathExpression xPathExpression)
- Parameters:
xPathExpression
- XPath expression
setConverter
public void setConverter(XmlPayloadConverter converter)
- Specify the converter used to convert payloads prior to XPath testing.
getConverter
protected XmlPayloadConverter getConverter()
getXPathExpresion
protected org.springframework.xml.xpath.XPathExpression getXPathExpresion()