public class SimpleSoapAttachmentValidator extends AbstractSoapAttachmentValidator
AbstractSoapAttachmentValidator.
Attachment content body is validated through simple string equals assertion.| Constructor and Description |
|---|
SimpleSoapAttachmentValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreAllWhitespaces()
Gets flag marking that all whitespaces are ignored.
|
void |
setIgnoreAllWhitespaces(boolean ignoreAllWhitespaces)
Sets ignore all whitespaces flag.
|
protected void |
validateAttachmentContent(SoapAttachment receivedAttachment,
SoapAttachment controlAttachment)
Delegate content body validation to subclasses.
|
protected void |
validateAttachmentContentData(String receivedContent,
String controlContent,
String controlContentId)
Validates content data.
|
findAttachment, validateAttachment, validateAttachmentContentId, validateAttachmentContentTypeprotected void validateAttachmentContent(SoapAttachment receivedAttachment, SoapAttachment controlAttachment)
AbstractSoapAttachmentValidatorvalidateAttachmentContent in class AbstractSoapAttachmentValidatorprotected void validateAttachmentContentData(String receivedContent, String controlContent, String controlContentId)
receivedContent - controlContent - controlContentId - public boolean isIgnoreAllWhitespaces()
public void setIgnoreAllWhitespaces(boolean ignoreAllWhitespaces)
ignoreAllWhitespaces - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.