Class XPathPayloadMappingKeyExtractor
- java.lang.Object
-
- com.consol.citrus.endpoint.adapter.mapping.AbstractMappingKeyExtractor
-
- com.consol.citrus.endpoint.adapter.mapping.XPathPayloadMappingKeyExtractor
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.adapter.mapping.MappingKeyExtractor
public class XPathPayloadMappingKeyExtractor extends com.consol.citrus.endpoint.adapter.mapping.AbstractMappingKeyExtractorExtracts predicate from message payload via XPath expression evaluation.- Since:
- 1.4
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description XPathPayloadMappingKeyExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMappingKey(com.consol.citrus.message.Message request)voidsetNamespaceContextBuilder(com.consol.citrus.xml.namespace.NamespaceContextBuilder namespaceContextBuilder)Sets the namespace context builder for this extractor.voidsetXpathExpression(String xpathExpression)Sets the xpath expression to evaluate.
-
-
-
Method Detail
-
getMappingKey
public String getMappingKey(com.consol.citrus.message.Message request)
- Specified by:
getMappingKeyin classcom.consol.citrus.endpoint.adapter.mapping.AbstractMappingKeyExtractor
-
setXpathExpression
public void setXpathExpression(String xpathExpression)
Sets the xpath expression to evaluate.- Parameters:
xpathExpression-
-
setNamespaceContextBuilder
public void setNamespaceContextBuilder(com.consol.citrus.xml.namespace.NamespaceContextBuilder namespaceContextBuilder)
Sets the namespace context builder for this extractor.- Parameters:
namespaceContextBuilder-
-
-