## Uses of Interface
org.apache.axiom.om.OMDataSource

- Packages that use OMDataSource
  Package | Description
  --- | ---
  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.ds.custombuilder |
  org.apache.axiom.om.ds.jaxb |
  org.apache.axiom.soap |

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

    Subinterfaces of OMDataSource in org.apache.axiom.om
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `OMDataSourceExt` | Interface to a backing object that can can be read and written as XML.
    `interface` | `QNameAwareOMDataSource` | Optional interface implemented by `OMDataSource` implementations that have knowledge about the local name, namespace URI and/or namespace prefix of the element they represent.

    Methods in org.apache.axiom.om that return OMDataSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `OMDataSource` | OMSourcedElement.`getDataSource()` |
    `OMDataSource` | OMSourcedElement.`setDataSource​(OMDataSource dataSource)` | Deprecated. This method is deprecated because its semantics are not clearly defined.

    Methods in org.apache.axiom.om with parameters of type OMDataSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `OMSourcedElement` | OMFactory.`createOMElement​(OMDataSource source)` | Create a sourced element.
    `OMSourcedElement` | OMFactory.`createOMElement​(OMDataSource source, String localName, OMNamespace ns)` | Create a sourced element with a known local name and namespace URI.
    `OMSourcedElement` | OMFactory.`createOMElement​(OMDataSource source, QName qname)` | Create a sourced element with a known local name, namespace URI and namespace prefix.
    `OMDataSource` | OMSourcedElement.`setDataSource​(OMDataSource dataSource)` | Deprecated. This method is deprecated because its semantics are not clearly defined.

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

    Classes in org.apache.axiom.om.ds that implement OMDataSource
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractOMDataSource` | Base class for `OMDataSourceExt` implementations.
    `class` | `AbstractPullOMDataSource` | Base class for `OMDataSourceExt` implementations that can easily produce the content as an `XMLStreamReader` and that don't implement any kind of optimization for serializing the content.
    `class` | `AbstractPushOMDataSource` | Base class for `OMDataSourceExt` implementations that can easily serialize the content to an `XMLStreamWriter` but that are unable to produce the content as an `XMLStreamReader`.
    `class` | `BlobOMDataSource` | `OMDataSource` implementation backed by a `Blob`.
    `class` | `StringOMDataSource` | `OMDataSource` implementation backed by a `String`.
    `class` | `WrappedTextNodeOMDataSource` | `OMDataSource` implementation that represents a text node wrapped inside an element.
    `class` | `WrappedTextNodeOMDataSourceFromDataSource` | `WrappedTextNodeOMDataSource` that pulls the text data from a `DataSource` object.
    `class` | `WrappedTextNodeOMDataSourceFromReader` | `WrappedTextNodeOMDataSource` that pulls text data from a `Reader` object.

  - ### Uses of OMDataSource in org.apache.axiom.om.ds.custombuilder

    Methods in org.apache.axiom.om.ds.custombuilder that return OMDataSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `OMDataSource` | BlobOMDataSourceCustomBuilder.`create​(OMElement element)` |
    `OMDataSource` | CustomBuilder.`create​(OMElement element)` | Create an `OMDataSource` from the given `OMElement`.

  - ### Uses of OMDataSource in org.apache.axiom.om.ds.jaxb

    Classes in org.apache.axiom.om.ds.jaxb that implement OMDataSource
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `JAXBOMDataSource` | `OMDataSource` backed by a JAXB object.

  - ### Uses of OMDataSource in org.apache.axiom.soap

    Methods in org.apache.axiom.soap with parameters of type OMDataSource
    Modifier and Type | Method | Description
    --- | --- | ---
    `SOAPHeaderBlock` | SOAPFactory.`createSOAPHeaderBlock​(String localName, OMNamespace ns, OMDataSource source)` | Create a `SOAPHeaderBlock` from an `OMDataSource` with a known local name and namespace URI.
    `SOAPHeaderBlock` | SOAPFactory.`createSOAPHeaderBlock​(OMDataSource source)` | Create a `SOAPHeaderBlock` from an `OMDataSource`.