public class XpathPayloadVariableExtractor extends Object implements VariableExtractor
Constructor and Description |
---|
XpathPayloadVariableExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
extractVariables(Message message,
TestContext context)
Extract variables using Xpath expressions.
|
Map<String,String> |
getNamespaces()
Gets the namespaces.
|
Map<String,String> |
getXpathExpressions()
Gets the xPathExpressions.
|
void |
setNamespaces(Map<String,String> namespaces)
List of expected namespaces.
|
void |
setXpathExpressions(Map<String,String> xPathExpressions)
Set the xPath expressions to identify the message elements and variable names.
|
public void extractVariables(Message message, TestContext context)
extractVariables
in interface VariableExtractor
public void setXpathExpressions(Map<String,String> xPathExpressions)
xPathExpressions
- the xPathExpressions to setpublic void setNamespaces(Map<String,String> namespaces)
namespaces
- the namespaces to setpublic Map<String,String> getXpathExpressions()
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.