Package com.consol.citrus.validation.xml
Class XmlMarshallingValidationProcessor<T>
- java.lang.Object
-
- com.consol.citrus.validation.AbstractValidationProcessor<T>
-
- com.consol.citrus.validation.xml.XmlMarshallingValidationProcessor<T>
-
- All Implemented Interfaces:
MessageProcessor,MessageTransformer,com.consol.citrus.spi.ReferenceResolverAware,GenericValidationProcessor<T>,ValidationProcessor
public abstract class XmlMarshallingValidationProcessor<T> extends AbstractValidationProcessor<T>
Validation callback automatically unmarshalling message payload so we work with Java objects for validation.- Author:
- Christoph Deppisch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXmlMarshallingValidationProcessor.Builder<T>Fluent builder.
-
Field Summary
-
Fields inherited from class com.consol.citrus.validation.AbstractValidationProcessor
referenceResolver
-
Fields inherited from interface com.consol.citrus.message.MessageProcessor
LOG, RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description XmlMarshallingValidationProcessor()Default constructor.XmlMarshallingValidationProcessor(Unmarshaller unmarshaller)Default constructor with unmarshaller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Message message, TestContext context)-
Methods inherited from class com.consol.citrus.validation.AbstractValidationProcessor
setReferenceResolver
-
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.validation.GenericValidationProcessor
validate
-
Methods inherited from interface com.consol.citrus.message.MessageProcessor
transform
-
Methods inherited from interface com.consol.citrus.validation.ValidationProcessor
process
-
-
-
-
Constructor Detail
-
XmlMarshallingValidationProcessor
public XmlMarshallingValidationProcessor()
Default constructor.
-
XmlMarshallingValidationProcessor
public XmlMarshallingValidationProcessor(Unmarshaller unmarshaller)
Default constructor with unmarshaller.
-
-
Method Detail
-
validate
public void validate(Message message, TestContext context)
- Specified by:
validatein interfaceValidationProcessor- Overrides:
validatein classAbstractValidationProcessor<T>
-
-