public class XpathMappingDataDictionary extends AbstractXmlDataDictionary implements org.springframework.beans.factory.InitializingBean
DataDictionary.PathMappingStrategy
mappingFile, mappings
Constructor and Description |
---|
XpathMappingDataDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
NamespaceContextBuilder |
getNamespaceContextBuilder() |
void |
setNamespaceContextBuilder(NamespaceContextBuilder namespaceContextBuilder) |
<T> T |
translate(Node node,
T value,
TestContext context)
Translate value with given path in message content.
|
interceptMessage, supportsMessageType
convertIfNecessary, getMappingFile, getMappings, getName, getPathMappingStrategy, isGlobalScope, setGlobalScope, setMappingFile, setMappings, setName, setPathMappingStrategy
interceptMessageConstruction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
interceptMessageConstruction
public <T> T translate(Node node, T value, TestContext context)
DataDictionary
translate
in interface DataDictionary<Node>
node
- the key element in message contentvalue
- current valuecontext
- the current test contextpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class AbstractDataDictionary<Node>
Exception
public NamespaceContextBuilder getNamespaceContextBuilder()
public void setNamespaceContextBuilder(NamespaceContextBuilder namespaceContextBuilder)
namespaceContextBuilder
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.