软件包 | 描述 |
---|---|
javax.xml.soap |
提供用于创建和生成消息的接口。
|
Modifier and Type | Method and Description |
---|---|
abstract AttachmentPart |
SOAPMessage.createAttachmentPart()
创建新的空
AttachmentPart 对象。
|
AttachmentPart |
SOAPMessage.createAttachmentPart(DataHandler dataHandler)
创建一个
AttachmentPart 对象并填充使用给定的
DataHandler 对象。
|
AttachmentPart |
SOAPMessage.createAttachmentPart(Object content, String contentType)
创建一个
AttachmentPart 对象和填充它与指定的内容类型指定的数据。
|
abstract AttachmentPart |
SOAPMessage.getAttachment(SOAPElement element)
返回一个对象,
AttachmentPart 带有附件,是引用的
SOAPElement 或
null 如果没有这样的连接存在关联。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SOAPMessage.addAttachmentPart(AttachmentPart AttachmentPart)
由于增加了
AttachmentPart 反对这
SOAPMessage 对象。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.