Interface AttachmentDescription

All Known Implementing Classes:

public interface AttachmentDescription

A parameter or return value may be represented as an attachment. In such cases, the ParameterDescription or OperationDescription has an AttachmentDescription defining the attachment information. Note that an Attachment may be one of 3 types: SWA, SWAREF and MTOM. SWAREF and MTOM attachments have an xml element (either in the body or header) that references the attachment part. SWA attachments are represented as an attachment part. There are is no xml element that references the attachment.

Method Summary
 AttachmentType getAttachmentType()
 String[] getMimeTypes()

Method Detail


AttachmentType getAttachmentType()


String[] getMimeTypes()
one or more mime types defined for this attachment

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.