Class InputSourceImpl


  • public class InputSourceImpl
    extends org.xml.sax.InputSource
    The InputSourceImpl class implements the InputSource interface.
    Author:
    J. H. S.
    • Constructor Summary

      Constructors 
      Constructor Description
      InputSourceImpl()
      Deprecated.
      Use a constructor that takes either a stream or a reader.
      InputSourceImpl​(java.io.InputStream byteStream)
      Deprecated.
      Use constructor with uri parameter.
      InputSourceImpl​(java.io.InputStream byteStream, java.lang.String uri, java.lang.String charset)
      Constructs an InputSourceImpl.
      InputSourceImpl​(java.io.Reader characterStream)
      Deprecated.
      Use constructor with uri parameter.
      InputSourceImpl​(java.io.Reader characterStream, java.lang.String uri)
      Constructs an InputSourceImpl.
      InputSourceImpl​(java.lang.String uri)
      Constructs an InputSourceImpl.
    • Method Summary

      • Methods inherited from class org.xml.sax.InputSource

        getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputSourceImpl

        public InputSourceImpl()
        Deprecated.
        Use a constructor that takes either a stream or a reader.
        Constructs an InputSourceImpl.
      • InputSourceImpl

        public InputSourceImpl​(java.lang.String uri)
        Constructs an InputSourceImpl.

        It is valid to use this constructor, but it is generally recommended that callers use one of the constructors that take a reader or an input stream instead.

        Parameters:
        uri - The URI (or systemID) of the document.
      • InputSourceImpl

        public InputSourceImpl​(java.io.InputStream byteStream)
        Deprecated.
        Use constructor with uri parameter.
        Constructs an InputSourceImpl.
        Parameters:
        byteStream - The input stream where content can be read.
      • InputSourceImpl

        public InputSourceImpl​(java.io.Reader characterStream)
        Deprecated.
        Use constructor with uri parameter.
        Constructs an InputSourceImpl.
        Parameters:
        characterStream - The Reader where characters can be read.
      • InputSourceImpl

        public InputSourceImpl​(java.io.Reader characterStream,
                               java.lang.String uri)
        Constructs an InputSourceImpl.
        Parameters:
        characterStream - The Reader where characters can be read.
        uri - The URI of the document.
      • InputSourceImpl

        public InputSourceImpl​(java.io.InputStream byteStream,
                               java.lang.String uri,
                               java.lang.String charset)
        Constructs an InputSourceImpl.
        Parameters:
        byteStream - The input stream where content can be read.
        uri - The URI that identifies the content.
        charset - The character set of the input stream.