Class ParserInputStreamDataSource

  • All Implemented Interfaces:
    org.apache.axiom.om.OMDataSource, org.apache.axiom.om.OMDataSourceExt

    public class ParserInputStreamDataSource
    extends OMDataSourceExtBase
    Deprecated.
    A DataSource that is backed by an InputStream (read from a parser). The Data in this Data source owns the payload inputStream.
    • Constructor Detail

      • ParserInputStreamDataSource

        public ParserInputStreamDataSource​(InputStream payload,
                                           String encoding)
        Deprecated.
        This is the constructor that is normally called. Note that the ParserInputStreamDataSource takes ownership of the payload InputStream. It may copy, mark or reset the stream. Callers should not access the stream after this constructor is called
        Parameters:
        payload - InputStream
        encoding -
      • ParserInputStreamDataSource

        public ParserInputStreamDataSource​(InputStream payload,
                                           String encoding,
                                           int behavior)
        Deprecated.
        This constructor is used to test the different Behavior settings. Note that the ParserInputStreamDataSource takes ownership of the payload InputStream. It may copy, mark or reset the stream. Callers should not access the stream after this constructor is called.
        Parameters:
        payload -
        encoding -
        behavior -