Class NodeMappingDataDictionary
java.lang.Object
org.citrusframework.message.AbstractMessageProcessor
org.citrusframework.variable.dictionary.AbstractDataDictionary<Node>
org.citrusframework.variable.dictionary.xml.AbstractXmlDataDictionary
org.citrusframework.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 structure
getNodesPathName(). 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 org.citrusframework.variable.dictionary.DataDictionary
DataDictionary.PathMappingStrategyNested classes/interfaces inherited from interface org.citrusframework.message.MessageProcessor
MessageProcessor.Builder<T extends MessageProcessor,B extends MessageProcessor.Builder<T, B>> -
Field Summary
Fields inherited from class org.citrusframework.variable.dictionary.AbstractDataDictionary
mappingFile, mappingsFields inherited from interface org.citrusframework.message.MessageProcessor
RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.citrusframework.variable.dictionary.xml.AbstractXmlDataDictionary
processMessage, supportsMessageTypeMethods inherited from class org.citrusframework.variable.dictionary.AbstractDataDictionary
convertIfNecessary, getMappingFile, getMappings, getName, getPathMappingStrategy, initialize, isGlobalScope, setGlobalScope, setMappingFile, setMappings, setName, setPathMappingStrategyMethods inherited from class org.citrusframework.message.AbstractMessageProcessor
getDirection, process, setDirectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.common.InitializingPhase
initializeMethods inherited from interface org.citrusframework.message.MessageDirectionAware
getDirectionMethods inherited from interface org.citrusframework.message.MessageProcessor
process, transform
-
Constructor Details
-
NodeMappingDataDictionary
public NodeMappingDataDictionary()
-
-
Method Details
-
translate
- Specified by:
translatein interfaceDataDictionary<Node>
-