站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

MockSOAPMessage - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.handler
Class MockSOAPMessage

java.lang.Object
  extended byjavax.xml.soap.SOAPMessage
      extended byorg.jboss.portal.test.wsrp.handler.MockSOAPMessage

public class MockSOAPMessage
extends javax.xml.soap.SOAPMessage

Since:
2.4
Version:
$Revision$
Author:
Chris Laprun

Field Summary
(package private)  javax.xml.soap.MimeHeaders headers
           
 
Fields inherited from class javax.xml.soap.SOAPMessage
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION
 
Constructor Summary
MockSOAPMessage()
           
MockSOAPMessage(javax.xml.soap.MimeHeaders headers)
           
 
Method Summary
 void addAttachmentPart(javax.xml.soap.AttachmentPart attachmentPart)
           
 int countAttachments()
           
 javax.xml.soap.AttachmentPart createAttachmentPart()
           
 java.util.Iterator getAttachments()
           
 java.util.Iterator getAttachments(javax.xml.soap.MimeHeaders mimeHeaders)
           
 java.lang.String getContentDescription()
           
 javax.xml.soap.MimeHeaders getMimeHeaders()
           
 javax.xml.soap.SOAPPart getSOAPPart()
           
 void removeAllAttachments()
           
 void saveChanges()
           
 boolean saveRequired()
           
 void setContentDescription(java.lang.String string)
           
 void setMimeHeaders(javax.xml.soap.MimeHeaders mimeHeaders)
           
 void writeTo(java.io.OutputStream outputStream)
           
 
Methods inherited from class javax.xml.soap.SOAPMessage
createAttachmentPart, createAttachmentPart, getProperty, getSOAPBody, getSOAPHeader, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headers

javax.xml.soap.MimeHeaders headers
Constructor Detail

MockSOAPMessage

public MockSOAPMessage()

MockSOAPMessage

public MockSOAPMessage(javax.xml.soap.MimeHeaders headers)
Method Detail

getMimeHeaders

public javax.xml.soap.MimeHeaders getMimeHeaders()

setMimeHeaders

public void setMimeHeaders(javax.xml.soap.MimeHeaders mimeHeaders)

addAttachmentPart

public void addAttachmentPart(javax.xml.soap.AttachmentPart attachmentPart)

createAttachmentPart

public javax.xml.soap.AttachmentPart createAttachmentPart()

getContentDescription

public java.lang.String getContentDescription()

setContentDescription

public void setContentDescription(java.lang.String string)

getSOAPPart

public javax.xml.soap.SOAPPart getSOAPPart()

removeAllAttachments

public void removeAllAttachments()

countAttachments

public int countAttachments()

getAttachments

public java.util.Iterator getAttachments()

getAttachments

public java.util.Iterator getAttachments(javax.xml.soap.MimeHeaders mimeHeaders)

saveChanges

public void saveChanges()
                 throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

saveRequired

public boolean saveRequired()

writeTo

public void writeTo(java.io.OutputStream outputStream)
             throws javax.xml.soap.SOAPException,
                    java.io.IOException
Throws:
javax.xml.soap.SOAPException
java.io.IOException