| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AttachmentPart 的软件包 | |
|---|---|
| javax.xml.soap | 提供用于创建和构建 SOAP 消息的 API。 | 
| javax.xml.soap 中 AttachmentPart 的使用 | 
|---|
| 返回 AttachmentPart 的 javax.xml.soap 中的方法 | |
|---|---|
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)
返回与此 SOAPElement 引用的附件关联的 AttachmentPart 对象,如果不存在此类附件,则返回 null。 | 
| 参数类型为 AttachmentPart 的 javax.xml.soap 中的方法 | |
|---|---|
abstract  void | 
SOAPMessage.addAttachmentPart(AttachmentPart AttachmentPart)
将给定的 AttachmentPart  对象添加到此 SOAPMessage
 对象。 | 
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。