org.apache.axis2.transport.testkit.message
Class XMLMessage

java.lang.Object
  extended by org.apache.axis2.transport.testkit.message.XMLMessage

public class XMLMessage
extends java.lang.Object


Nested Class Summary
static class XMLMessage.Type
           
 
Constructor Summary
XMLMessage(org.apache.axiom.om.OMElement payload, XMLMessage.Type type)
           
XMLMessage(org.apache.axiom.om.OMElement payload, XMLMessage.Type type, org.apache.axiom.attachments.Attachments attachments)
           
 
Method Summary
 org.apache.axiom.attachments.Attachments getAttachments()
           
 org.apache.axiom.om.OMElement getMessageElement()
           
 org.apache.axiom.om.OMElement getPayload()
           
 XMLMessage.Type getType()
           
static XMLMessage.Type getTypeFromContentType(javax.mail.internet.ContentType contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLMessage

public XMLMessage(org.apache.axiom.om.OMElement payload,
                  XMLMessage.Type type,
                  org.apache.axiom.attachments.Attachments attachments)

XMLMessage

public XMLMessage(org.apache.axiom.om.OMElement payload,
                  XMLMessage.Type type)
Method Detail

getType

public XMLMessage.Type getType()

getPayload

public org.apache.axiom.om.OMElement getPayload()

getMessageElement

public org.apache.axiom.om.OMElement getMessageElement()

getAttachments

public org.apache.axiom.attachments.Attachments getAttachments()

getTypeFromContentType

public static XMLMessage.Type getTypeFromContentType(javax.mail.internet.ContentType contentType)


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.