public class SOAPMessageImpl extends SOAPMessage
Modifier and Type | Class and Description |
---|---|
static class |
SOAPMessageImpl.MimeMatchingAttachmentsIterator |
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION
createAttachmentPart, createAttachmentPart
public Object getProperty(String property) throws SOAPException
getProperty
in class SOAPMessage
SOAPException
public void setProperty(String property, Object value) throws SOAPException
setProperty
in class SOAPMessage
SOAPException
public SOAPBody getSOAPBody() throws SOAPException
getSOAPBody
in class SOAPMessage
SOAPException
public SOAPHeader getSOAPHeader() throws SOAPException
getSOAPHeader
in class SOAPMessage
SOAPException
public void setAttachments(Collection<AttachmentPart> parts) throws SOAPException
SOAPException
public void addAttachmentPart(AttachmentPart part)
addAttachmentPart
in class SOAPMessage
public AttachmentPart getAttachmentByContentId(String cid) throws SOAPException
SOAPException
public AttachmentPart removeAttachmentByContentId(String cid)
public AttachmentPart getAttachmentByPartName(String partName)
public AttachmentPart createAttachmentPart()
createAttachmentPart
in class SOAPMessage
public String getContentDescription()
getContentDescription
in class SOAPMessage
public void setContentDescription(String description)
setContentDescription
in class SOAPMessage
public MimeHeaders getMimeHeaders()
getMimeHeaders
in class SOAPMessage
public void setMimeHeaders(MimeHeaders headers)
public SOAPPart getSOAPPart()
getSOAPPart
in class SOAPMessage
public void removeAllAttachments()
removeAllAttachments
in class SOAPMessage
public int countAttachments()
countAttachments
in class SOAPMessage
public Iterator getAttachments()
getAttachments
in class SOAPMessage
public Iterator getAttachments(MimeHeaders headers)
getAttachments
in class SOAPMessage
public void saveChanges() throws SOAPException
saveChanges
in class SOAPMessage
SOAPException
public boolean saveRequired()
saveRequired
in class SOAPMessage
public void writeTo(OutputStream outs) throws IOException
writeTo
in class SOAPMessage
IOException
public OperationMetaData getOperationMetaData(EndpointMetaData epMetaData) throws SOAPException
SOAPException
public AttachmentPart getAttachment(SOAPElement element) throws SOAPException
getAttachment
in class SOAPMessage
SOAPException
public void removeAttachments(MimeHeaders headers)
removeAttachments
in class SOAPMessage
public void prepareForDOMAccess() throws SOAPException
SOAPException
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.