# Uses of Interface
org.apache.axiom.blob.Blob

Packages that use Blob
Package
Description
org.apache.axiom.attachments
org.apache.axiom.blob
Contains utility classes to work with binary data.
org.apache.axiom.ext.stax
Defines Axiom specific extensions to the StAX API.
org.apache.axiom.mime
Contains interfaces for MIME message processing.
org.apache.axiom.mime.activation
org.apache.axiom.om
Contains core interfaces of the Axiom API.
org.apache.axiom.om.ds
Contains ready to use `OMDataSource` implementations.
org.apache.axiom.om.format.xop
org.apache.axiom.om.impl
org.apache.axiom.util.activation
Contains utility classes to work with the Java Activation Framework.
org.apache.axiom.util.base64
Contains utility classes to work with base64 encoded data.
org.apache.axiom.util.stax
Contains StAX utility classes not depending on the Axiom API.

- ## Uses of Blob in org.apache.axiom.attachments

  Methods in org.apache.axiom.attachments that return Blob
  Modifier and Type
  Method
  Description
  `Blob`
  Attachments.`getBlob(String contentID)`

- ## Uses of Blob in org.apache.axiom.blob

  Subinterfaces of Blob in org.apache.axiom.blob
  Modifier and Type
  Interface
  Description
  `interface`
  `MemoryBlob`
  Blob that stores data in memory.
  `interface`
  `OverflowableBlob`
  Blob that accumulates data in memory and transfers it to a different type of blob if the size exceeds a certain threshold.
  `interface`
  `WritableBlob`
  A writable blob.
  Classes in org.apache.axiom.blob that implement Blob
  Modifier and Type
  Class
  Description
  `class`
  `AbstractWritableBlob`
  Partial implementation of the `WritableBlob` interface that implements `WritableBlob.readFrom(InputStream)` using `WritableBlob.getOutputStream()` and `writeTo(OutputStream)` using `getInputStream()`.
  Methods in org.apache.axiom.blob that return Blob
  Modifier and Type
  Method
  Description
  `static Blob`
  Blobs.`createBlob(byte[] data)`
  Create a blob from a byte array.

- ## Uses of Blob in org.apache.axiom.ext.stax

  Methods in org.apache.axiom.ext.stax that return Blob
  Modifier and Type
  Method
  Description
  `Blob`
  BlobProvider.`getBlob()`
  Get the `Blob` object for the binary content.
  `Blob`
  BlobReader.`getBlob()`
  Get the `Blob` with the binary content for the current event.
  Methods in org.apache.axiom.ext.stax with parameters of type Blob
  Modifier and Type
  Method
  Description
  `void`
  BlobWriter.`writeBlob(Blob blob, String contentID, boolean optimize)`
  Write binary content to the stream.

- ## Uses of Blob in org.apache.axiom.mime

  Subinterfaces of Blob in org.apache.axiom.mime
  Modifier and Type
  Interface
  Description
  `interface`
  `PartBlob`
  A `Blob` that enables access to the `Part` whose content it represents.
  Methods in org.apache.axiom.mime that return Blob
  Modifier and Type
  Method
  Description
  `Blob`
  Part.`getBlob()`
  Get the content of this part as a `Blob`.
  Methods in org.apache.axiom.mime with parameters of type Blob
  Modifier and Type
  Method
  Description
  `void`
  MultipartBodyWriter.`writePart(Blob blob, ContentType contentType, ContentTransferEncoding contentTransferEncoding, String contentID, List<Header> extraHeaders)`
  Write a MIME part.

- ## Uses of Blob in org.apache.axiom.mime.activation

  Classes in org.apache.axiom.mime.activation that implement Blob
  Modifier and Type
  Class
  Description
  `final class`
  `PartDataHandlerBlob`
  `PartBlob` implementation that wraps a `PartDataHandler`.
  Methods in org.apache.axiom.mime.activation with parameters of type Blob
  Modifier and Type
  Method
  Description
  `protected DataSource`
  PartDataHandler.`createDataSource(Blob content, String contentType)`
  Create the `DataSource` to be returned by `PartDataHandler.getDataSource()`.

- ## Uses of Blob in org.apache.axiom.om

  Methods in org.apache.axiom.om that return Blob
  Modifier and Type
  Method
  Description
  `Blob`
  OMAttachmentAccessor.`getBlob(String contentID)`
  Get the content of the MIME part identified by a given content ID.
  `Blob`
  OMText.`getBlob()`
  Returns a `Blob` containing the base64-decoded content of this node.
  Methods in org.apache.axiom.om with parameters of type Blob
  Modifier and Type
  Method
  Description
  `OMText`
  OMFactory.`createOMText(Blob blob, boolean optimize)`

- ## Uses of Blob in org.apache.axiom.om.ds

  Methods in org.apache.axiom.om.ds that return Blob
  Modifier and Type
  Method
  Description
  `Blob`
  BlobOMDataSource.Data.`getBlob()`
  Constructors in org.apache.axiom.om.ds with parameters of type Blob
  Modifier
  Constructor
  Description
  ``
  `BlobOMDataSource(Blob blob, String encoding)`
  Constructor.
  ``
  `WrappedTextNodeOMDataSourceFromBlob(QName wrapperElementName, Blob binaryData, Charset charset)`

- ## Uses of Blob in org.apache.axiom.om.format.xop

  Methods in org.apache.axiom.om.format.xop with parameters of type Blob
  Modifier and Type
  Method
  Description
  `ContentTransferEncoding`
  CombinedContentTransferEncodingPolicy.`getContentTransferEncoding(Blob blob, ContentType contentType)`
  `ContentTransferEncoding`
  ContentTransferEncodingPolicy.`getContentTransferEncoding(Blob blob, ContentType contentType)`
  Determine the content transfer encoding to use for a MIME part.
  `ContentType`
  ContentTypeProvider.`getContentType(Blob blob)`
  Determine the content type to use for a MIME part.

- ## Uses of Blob in org.apache.axiom.om.impl

  Methods in org.apache.axiom.om.impl with parameters of type Blob
  Modifier and Type
  Method
  Description
  `abstract String`
  MTOMXMLStreamWriter.`prepareBlob(Blob blob)`
  Prepare a `Blob` for serialization without using the `BlobWriter` API.
  `void`
  OMMultipartWriter.`writePart(Blob blob, String contentID)`
  Write a MIME part.
  `void`
  OMMultipartWriter.`writePart(Blob blob, String contentID, List<Header> extraHeaders)`
  Write a MIME part.

- ## Uses of Blob in org.apache.axiom.util.activation

  Methods in org.apache.axiom.util.activation that return Blob
  Modifier and Type
  Method
  Description
  `static Blob`
  DataHandlerUtils.`toBlob(DataHandler dh)`
  Get a `Blob` for the given `DataHandler`.
  Methods in org.apache.axiom.util.activation with parameters of type Blob
  Modifier and Type
  Method
  Description
  `ContentType`
  DataHandlerContentTypeProvider.`getContentType(Blob blob)`
  `static DataHandler`
  DataHandlerUtils.`getDataHandler(Blob blob)`
  Get the `DataHandler` wrapped by the given `Blob`.
  `static DataHandler`
  DataHandlerUtils.`toDataHandler(Blob blob)`
  Get a `DataHandler` for the given `Blob`.

- ## Uses of Blob in org.apache.axiom.util.base64

  Methods in org.apache.axiom.util.base64 with parameters of type Blob
  Modifier and Type
  Method
  Description
  `static String`
  Base64Utils.`encode(Blob blob)`
  Get a base64 representation of the content of a given `Blob` as a string.
  `static char[]`
  Base64Utils.`encodeToCharArray(Blob blob)`
  Get a base64 representation of the content of a given `Blob` as a char array.

- ## Uses of Blob in org.apache.axiom.util.stax

  Methods in org.apache.axiom.util.stax that return Blob
  Modifier and Type
  Method
  Description
  `static Blob`
  XMLStreamReaderUtils.`getBlobFromElement(XMLStreamReader reader)`
  Get a `Blob` for the binary data encoded in an element.
  Methods in org.apache.axiom.util.stax with parameters of type Blob
  Modifier and Type
  Method
  Description
  `static void`
  XMLStreamWriterUtils.`writeBase64(XMLStreamWriter writer, Blob blob)`
  Write base64 encoded data to a stream writer.
  `static void`
  XMLStreamWriterUtils.`writeBlob(XMLStreamWriter writer, Blob blob, String contentID, boolean optimize)`
  Write binary content to the stream.