org.apache.wsif.providers.soap.apacheaxis
Class MIMEHelper

java.lang.Object
  extended by org.apache.wsif.providers.soap.apacheaxis.MIMEHelper

public class MIMEHelper
extends java.lang.Object

The sole purpose of this class is to collect all the code that uses attachement classes outside of the WSIFOperation_ApacheAxis class so that there is not a runtime requirement on activation.jar and mail.jar unless attachements are actually being used.

Author:
Ant Elder

Constructor Summary
MIMEHelper()
           
 
Method Summary
static boolean addAttachementIfMIMEPart(org.apache.axis.client.Call call, java.lang.Object o)
           
static org.apache.axis.attachments.AttachmentPart getAttachementPart(java.lang.Object o)
           
static void registerAttachmentType(org.apache.axis.client.Call call, javax.xml.namespace.QName type)
           
static void setMIMEMessagePart(WSIFMessage msg, java.lang.String name, java.lang.Object value, java.lang.Class type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIMEHelper

public MIMEHelper()
Method Detail

registerAttachmentType

public static void registerAttachmentType(org.apache.axis.client.Call call,
                                          javax.xml.namespace.QName type)

addAttachementIfMIMEPart

public static boolean addAttachementIfMIMEPart(org.apache.axis.client.Call call,
                                               java.lang.Object o)

getAttachementPart

public static org.apache.axis.attachments.AttachmentPart getAttachementPart(java.lang.Object o)
                                                                     throws WSIFException
Throws:
WSIFException

setMIMEMessagePart

public static void setMIMEMessagePart(WSIFMessage msg,
                                      java.lang.String name,
                                      java.lang.Object value,
                                      java.lang.Class type)
                               throws WSIFException
Throws:
WSIFException


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