Class NodeMappingDataDictionary
- java.lang.Object
-
- com.consol.citrus.message.AbstractMessageProcessor
-
- com.consol.citrus.variable.dictionary.AbstractDataDictionary<Node>
-
- com.consol.citrus.variable.dictionary.xml.AbstractXmlDataDictionary
-
- com.consol.citrus.variable.dictionary.xml.NodeMappingDataDictionary
-
- All Implemented Interfaces:
InitializingPhase,MessageDirectionAware,MessageProcessor,MessageTransformer,MessageTypeSelector,Scoped,DataDictionary<Node>
public class NodeMappingDataDictionary extends AbstractXmlDataDictionary implements InitializingPhase
Very basic data dictionary that holds a list of mappings for message elements. Mapping key is the element path inside the XML structuregetNodesPathName(). The mapping value is set as new element value where test variables are supported in value expressions.- Since:
- 1.4
- Author:
- Christoph Deppisch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.consol.citrus.variable.dictionary.DataDictionary
DataDictionary.PathMappingStrategy
-
Nested classes/interfaces inherited from interface com.consol.citrus.message.MessageProcessor
MessageProcessor.Builder<T extends MessageProcessor,B extends MessageProcessor.Builder<T,B>>
-
-
Field Summary
-
Fields inherited from class com.consol.citrus.variable.dictionary.AbstractDataDictionary
mappingFile, mappings
-
Fields inherited from interface com.consol.citrus.message.MessageProcessor
RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description NodeMappingDataDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Ttranslate(Node node, T value, TestContext context)-
Methods inherited from class com.consol.citrus.variable.dictionary.xml.AbstractXmlDataDictionary
processMessage, supportsMessageType
-
Methods inherited from class com.consol.citrus.variable.dictionary.AbstractDataDictionary
convertIfNecessary, getMappingFile, getMappings, getName, getPathMappingStrategy, initialize, isGlobalScope, setGlobalScope, setMappingFile, setMappings, setName, setPathMappingStrategy
-
Methods inherited from class com.consol.citrus.message.AbstractMessageProcessor
getDirection, process, setDirection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.common.InitializingPhase
initialize
-
Methods inherited from interface com.consol.citrus.message.MessageDirectionAware
getDirection
-
Methods inherited from interface com.consol.citrus.message.MessageProcessor
process, transform
-
-
-
-
Method Detail
-
translate
public <T> T translate(Node node, T value, TestContext context)
- Specified by:
translatein interfaceDataDictionary<Node>
-
-