org.codehaus.xfire.attachments
Class SimpleAttachment

java.lang.Object
  extended by org.codehaus.xfire.attachments.SimpleAttachment
All Implemented Interfaces:
Attachment

public class SimpleAttachment
extends java.lang.Object
implements Attachment

Author:
Dan Diephouse

Constructor Summary
SimpleAttachment(java.lang.String id, javax.activation.DataHandler handler)
           
 
Method Summary
 javax.activation.DataHandler getDataHandler()
           
 java.lang.String getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttachment

public SimpleAttachment(java.lang.String id,
                        javax.activation.DataHandler handler)
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface Attachment
Returns:
The attachment id.

getDataHandler

public javax.activation.DataHandler getDataHandler()
Specified by:
getDataHandler in interface Attachment