## 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.jaxb |
  org.apache.axiom.om.impl |
  org.apache.axiom.soap |

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

    Subinterfaces of OMDataSource in org.apache.axiom.om
    Modifier and Type | Interface and 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 and Description
    --- | ---
    `OMDataSource` | OMSourcedElement.`getDataSource()`
    `OMDataSource` | OMSourcedElement.`setDataSource(OMDataSource dataSource)` Deprecated. This method is deprecated because its semantics are not clearly defined. In particular it is unspecified whether the name of the element may change as a result of an invocation of this method.

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

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

    Classes in org.apache.axiom.om.ds that implement OMDataSource
    Modifier and Type | Class and 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` | `ByteArrayDataSource` ByteArrayDataSource is an example implementation of OMDataSourceExt.
    `class` | `CharArrayDataSource` CharArrayDataSource is an example implementation of OMDataSourceExt.
    `class` | `InputStreamDataSource` InputStream is an example OMDataSourceExt.
    `class` | `OMDataSourceExtBase` Deprecated. As described in AXIOM-419, this class has multiple issues and should no longer be used as a base class for `OMDataSource` implementations. Instead, use `AbstractOMDataSource`, `AbstractPullOMDataSource` or `AbstractPushOMDataSource`.
    `class` | `ParserInputStreamDataSource` A DataSource that is backed by an InputStream (read from a parser).
    `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.jaxb

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

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

    Methods in org.apache.axiom.om.impl that return OMDataSource
    Modifier and Type | Method and Description
    --- | ---
    `OMDataSource` | OMXMLStreamReaderEx.`getDataSource()`

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

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

Copyright © The Apache Software Foundation. All Rights Reserved.