org.apache.wsif.attachments
Class WSIFAttachmentPart

java.lang.Object
  extended byorg.apache.wsif.attachments.WSIFAttachmentPart
All Implemented Interfaces:
java.lang.Cloneable

public class WSIFAttachmentPart
extends java.lang.Object
implements java.lang.Cloneable

WSIFAttachmentPart is a MIME attachment that is described in a binding independent way.

Author:
Mark Whitlock

Constructor Summary
WSIFAttachmentPart()
           
WSIFAttachmentPart(javax.activation.DataHandler dh)
           
WSIFAttachmentPart(javax.activation.DataHandler dh, java.util.Map properties)
           
WSIFAttachmentPart(java.lang.Object obj)
           
 
Method Summary
 void clearProperties()
           
 java.lang.Object clone()
           
 boolean containsProperty(java.lang.String name)
           
 javax.activation.DataHandler getDataHandler()
           
 java.lang.String getProperty(java.lang.String name)
           
 java.util.Iterator getPropertyIterator()
           
 void setDataHandler(javax.activation.DataHandler dh)
           
 void setProperties(java.util.Map properties)
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFAttachmentPart

public WSIFAttachmentPart()

WSIFAttachmentPart

public WSIFAttachmentPart(javax.activation.DataHandler dh)

WSIFAttachmentPart

public WSIFAttachmentPart(java.lang.Object obj)

WSIFAttachmentPart

public WSIFAttachmentPart(javax.activation.DataHandler dh,
                          java.util.Map properties)
                   throws WSIFException
Method Detail

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
                 throws WSIFException
Throws:
WSIFException

setProperties

public void setProperties(java.util.Map properties)
                   throws WSIFException
Throws:
WSIFException

getProperty

public java.lang.String getProperty(java.lang.String name)

containsProperty

public boolean containsProperty(java.lang.String name)

getPropertyIterator

public java.util.Iterator getPropertyIterator()

clearProperties

public void clearProperties()

getDataHandler

public javax.activation.DataHandler getDataHandler()

setDataHandler

public void setDataHandler(javax.activation.DataHandler dh)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.