Class SimpleSoapAttachmentValidator

java.lang.Object
org.citrusframework.ws.validation.AbstractSoapAttachmentValidator
org.citrusframework.ws.validation.SimpleSoapAttachmentValidator
All Implemented Interfaces:
SoapAttachmentValidator
Direct Known Subclasses:
XmlSoapAttachmentValidator

public class SimpleSoapAttachmentValidator extends AbstractSoapAttachmentValidator
Simple implementation of a AbstractSoapAttachmentValidator. Attachment content body is validated through simple string equals assertion.
  • Constructor Details

    • SimpleSoapAttachmentValidator

      public SimpleSoapAttachmentValidator()
  • Method Details

    • validateAttachmentContent

      protected void validateAttachmentContent(SoapAttachment receivedAttachment, SoapAttachment controlAttachment)
      Description copied from class: AbstractSoapAttachmentValidator
      Delegate content body validation to subclasses.
      Specified by:
      validateAttachmentContent in class AbstractSoapAttachmentValidator
    • validateAttachmentContentData

      protected void validateAttachmentContentData(String receivedContent, String controlContent, String controlContentId)
      Validates content data.
      Parameters:
      receivedContent -
      controlContent -
      controlContentId -
    • isIgnoreAllWhitespaces

      public boolean isIgnoreAllWhitespaces()
      Gets flag marking that all whitespaces are ignored.
      Returns:
    • setIgnoreAllWhitespaces

      public void setIgnoreAllWhitespaces(boolean ignoreAllWhitespaces)
      Sets ignore all whitespaces flag.
      Parameters:
      ignoreAllWhitespaces -