Class XmlSoapAttachmentValidator
java.lang.Object
org.citrusframework.ws.validation.AbstractSoapAttachmentValidator
org.citrusframework.ws.validation.SimpleSoapAttachmentValidator
org.citrusframework.ws.validation.XmlSoapAttachmentValidator
- All Implemented Interfaces:
ReferenceResolverAware,SoapAttachmentValidator
public class XmlSoapAttachmentValidator
extends SimpleSoapAttachmentValidator
implements ReferenceResolverAware
Soap attachment validator delegating attachment content validation to a
MessageValidator.
Through XmlMessageValidationContext this class supports message validation for XML payload.- Author:
- Christoph Deppisch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetReferenceResolver(ReferenceResolver referenceResolver) protected voidvalidateAttachmentContentData(String receivedContent, String controlContent, String controlContentId) Validates content data.Methods inherited from class org.citrusframework.ws.validation.SimpleSoapAttachmentValidator
isIgnoreAllWhitespaces, setIgnoreAllWhitespaces, validateAttachmentContentMethods inherited from class org.citrusframework.ws.validation.AbstractSoapAttachmentValidator
findAttachment, validateAttachment, validateAttachmentContentId, validateAttachmentContentType
-
Field Details
-
DEFAULT_XML_MESSAGE_VALIDATOR
- See Also:
-
-
Constructor Details
-
XmlSoapAttachmentValidator
public XmlSoapAttachmentValidator()
-
-
Method Details
-
validateAttachmentContentData
protected void validateAttachmentContentData(String receivedContent, String controlContent, String controlContentId) Description copied from class:SimpleSoapAttachmentValidatorValidates content data.- Overrides:
validateAttachmentContentDatain classSimpleSoapAttachmentValidator
-
setReferenceResolver
- Specified by:
setReferenceResolverin interfaceReferenceResolverAware
-