View Javadoc

1   package org.codehaus.xfire.attachments;
2   
3   import javax.activation.DataHandler;
4   
5   /***
6    * An attachment from a SOAP invocation.
7    * 
8    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
9    */
10  public interface Attachment
11  {
12      public DataHandler getDataHandler();
13  
14      /***
15       * @return The attachment id.
16       */
17      public String getId();
18  }