org.codehaus.xfire.attachments
Interface Attachment

All Known Implementing Classes:
SimpleAttachment

public interface Attachment

An attachment from a SOAP invocation.

Author:
Dan Diephouse

Method Summary
 DataHandler getDataHandler()
           
 java.lang.String getHeader(java.lang.String name)
           
 java.lang.String getId()
           
 boolean isXOP()
          Whether or not this is an XOP package.
 

Method Detail

getDataHandler

DataHandler getDataHandler()

getId

java.lang.String getId()
Returns:
The attachment id.

getHeader

java.lang.String getHeader(java.lang.String name)

isXOP

boolean isXOP()
Whether or not this is an XOP package. This will affect the serialization of the attachment. If true, it will be serialized as binary data, and not Base64Binary.

Returns:


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.