Class AbstractXmlDataDictionary
- java.lang.Object
-
- com.consol.citrus.message.AbstractMessageProcessor
-
- com.consol.citrus.variable.dictionary.AbstractDataDictionary<Node>
-
- com.consol.citrus.variable.dictionary.xml.AbstractXmlDataDictionary
-
- All Implemented Interfaces:
InitializingPhase,MessageDirectionAware,MessageProcessor,MessageTransformer,MessageTypeSelector,Scoped,DataDictionary<Node>
- Direct Known Subclasses:
NodeMappingDataDictionary,XpathMappingDataDictionary
public abstract class AbstractXmlDataDictionary extends AbstractDataDictionary<Node>
Abstract data dictionary works on XML message payloads only with parsing the document and translating each element and attribute with respective value in dictionary.- 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
LOG, RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlDataDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessMessage(Message message, TestContext context)booleansupportsMessageType(String messageType)-
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.variable.dictionary.DataDictionary
translate
-
Methods inherited from interface com.consol.citrus.message.MessageDirectionAware
getDirection
-
Methods inherited from interface com.consol.citrus.message.MessageProcessor
process, transform
-
-
-
-
Method Detail
-
processMessage
protected void processMessage(Message message, TestContext context)
- Overrides:
processMessagein classAbstractMessageProcessor
-
supportsMessageType
public boolean supportsMessageType(String messageType)
- Specified by:
supportsMessageTypein interfaceMessageTypeSelector- Overrides:
supportsMessageTypein classAbstractMessageProcessor
-
-