Class OMDataSourceExtBase

java.lang.Object
org.apache.axiom.om.ds.OMDataSourceExtBase
All Implemented Interfaces:
org.apache.axiom.om.OMDataSource, org.apache.axiom.om.OMDataSourceExt
Direct Known Subclasses:
ByteArrayDataSource, CharArrayDataSource, InputStreamDataSource

public abstract class OMDataSourceExtBase extends Object implements org.apache.axiom.om.OMDataSourceExt
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.
OMDataSourceExtBase is a convenient base class that can be extended by other OMDataSourceExt implementations.
  • Constructor Details

    • OMDataSourceExtBase

      public OMDataSourceExtBase()
      Deprecated.
  • Method Details

    • getProperty

      public Object getProperty(String key)
      Deprecated.
      Specified by:
      getProperty in interface org.apache.axiom.om.OMDataSourceExt
    • setProperty

      public Object setProperty(String key, Object value)
      Deprecated.
      Specified by:
      setProperty in interface org.apache.axiom.om.OMDataSourceExt
    • hasProperty

      public boolean hasProperty(String key)
      Deprecated.
      Specified by:
      hasProperty in interface org.apache.axiom.om.OMDataSourceExt
    • getXMLInputStream

      public InputStream getXMLInputStream(String encoding) throws UnsupportedEncodingException
      Deprecated.
      Specified by:
      getXMLInputStream in interface org.apache.axiom.om.OMDataSourceExt
      Throws:
      UnsupportedEncodingException
    • serialize

      public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
      Deprecated.
      Specified by:
      serialize in interface org.apache.axiom.om.OMDataSource
      Throws:
      XMLStreamException
    • serialize

      public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
      Deprecated.
      Specified by:
      serialize in interface org.apache.axiom.om.OMDataSource
      Throws:
      XMLStreamException
    • serialize

      public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
      Deprecated.
      Specified by:
      serialize in interface org.apache.axiom.om.OMDataSource
      Throws:
      XMLStreamException