| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataHandler | |
|---|---|
| javax.activation | |
| javax.xml.bind.attachment | This package is implemented by a MIME-based package processor that enables the interpretation and creation of optimized binary data within an MIME-based package format. | 
| javax.xml.soap | Provides the API for creating and building SOAP messages. | 
| Uses of DataHandler in javax.activation | 
|---|
| Methods in javax.activation with parameters of type DataHandler | |
|---|---|
|  Object | CommandInfo.getCommandObject(DataHandler dh,
                 ClassLoader loader)Return the instantiated JavaBean component. | 
|  void | CommandObject.setCommandContext(String verb,
                  DataHandler dh)Initialize the Command with the verb it is requested to handle and the DataHandler that describes the data it will operate on. | 
| Uses of DataHandler in javax.xml.bind.attachment | 
|---|
| Methods in javax.xml.bind.attachment that return DataHandler | |
|---|---|
| abstract  DataHandler | AttachmentUnmarshaller.getAttachmentAsDataHandler(String cid)Lookup MIME content by content-id, cid, and return as aDataHandler. | 
| Methods in javax.xml.bind.attachment with parameters of type DataHandler | |
|---|---|
| abstract  String | AttachmentMarshaller.addMtomAttachment(DataHandler data,
                  String elementNamespace,
                  String elementLocalName)Consider MIME content datafor optimized binary storage as an attachment. | 
| abstract  String | AttachmentMarshaller.addSwaRefAttachment(DataHandler data)Add MIME dataas an attachment and return attachment's content-id, cid. | 
| Uses of DataHandler in javax.xml.soap | 
|---|
| Methods in javax.xml.soap that return DataHandler | |
|---|---|
| abstract  DataHandler | AttachmentPart.getDataHandler()Gets the DataHandlerobject for thisAttachmentPartobject. | 
| Methods in javax.xml.soap with parameters of type DataHandler | |
|---|---|
|  AttachmentPart | SOAPMessage.createAttachmentPart(DataHandler dataHandler)Creates an AttachmentPartobject and populates it using
 the givenDataHandlerobject. | 
| abstract  void | AttachmentPart.setDataHandler(DataHandler dataHandler)Sets the given DataHandlerobject as the data handler
 for thisAttachmentPartobject. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.