src/doc: introduce option --no-render in HTML phase.
[nit.git] / lib / sax / input_source.nit
index b3a27d8..0427f4a 100644 (file)
@@ -41,8 +41,6 @@ module sax::input_source
 # from [SAX 2.0](http://www.saxproject.org).
 class InputSource
 
-       init do end
-
        # Create a new input source with the specified system identifier.
        #
        # Applications may use `public_id=` to include a public identifier as well,
@@ -60,7 +58,7 @@ class InputSource
        # resolving relative URIs, may use `public_id=` to include a public
        # identifier, and may use `encoding=` to specify the object's character
        # encoding.
-       init with_stream(stream: IStream) do
+       init with_stream(stream: Reader) do
                self.stream = stream
        end
 
@@ -86,7 +84,7 @@ class InputSource
        # for resolving relative URIs, may set `public_id` to include a
        # public identifier, and may set `encoding` to specify the object's
        # character encoding.
-       var stream: nullable IStream = null is writable
+       var stream: nullable Reader = null is writable
 
        # The character encoding, if known.
        #