| 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 |
| 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. |
| 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.
|
| 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.
|
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
JAXBOMDataSource
OMDataSource backed by a JAXB object. |
| Modifier and Type | Method and Description |
|---|---|
OMDataSource |
OMXMLStreamReaderEx.getDataSource() |
| 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.