Uses of Class
jakarta.activation.DataHandler
Packages that use DataHandler
Package
Description
Jakarta Activation is used by Jakarta Mail to manage MIME data.
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.
Provides the API for creating and building SOAP messages.
-
Uses of DataHandler in jakarta.activation
Methods in jakarta.activation with parameters of type DataHandlerModifier and TypeMethodDescriptionCommandInfo.getCommandObject(DataHandler dh, ClassLoader loader) Return the instantiated JavaBean component.voidCommandObject.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 jakarta.xml.bind.attachment
Methods in jakarta.xml.bind.attachment that return DataHandlerModifier and TypeMethodDescriptionabstract DataHandlerAttachmentUnmarshaller.getAttachmentAsDataHandler(String cid) Lookup MIME content by content-id,cid, and return as aDataHandler.Methods in jakarta.xml.bind.attachment with parameters of type DataHandlerModifier and TypeMethodDescriptionabstract StringAttachmentMarshaller.addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName) Consider MIME contentdatafor optimized binary storage as an attachment.abstract StringAttachmentMarshaller.addSwaRefAttachment(DataHandler data) Add MIMEdataas an attachment and return attachment's content-id, cid. -
Uses of DataHandler in jakarta.xml.soap
Methods in jakarta.xml.soap that return DataHandlerModifier and TypeMethodDescriptionabstract DataHandlerAttachmentPart.getDataHandler()Gets theDataHandlerobject for thisAttachmentPartobject.Methods in jakarta.xml.soap with parameters of type DataHandlerModifier and TypeMethodDescriptionSOAPMessage.createAttachmentPart(DataHandler dataHandler) Creates anAttachmentPartobject and populates it using the givenDataHandlerobject.abstract voidAttachmentPart.setDataHandler(DataHandler dataHandler) Sets the givenDataHandlerobject as the data handler for thisAttachmentPartobject.