Uses of Class org.codehaus.jackson.io.IOContext (Jackson JSON Processor)
Date: 2013-07-14

## Uses of Class
org.codehaus.jackson.io.IOContext

- Packages that use IOContext
  Package | Description
  --- | ---
  org.codehaus.jackson | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonParser`) instances.
  org.codehaus.jackson.impl | Parser and generator implementation classes that Jackson defines and uses.
  org.codehaus.jackson.io | This package contains I/O helper classes Jackson itself uses, but that are not exposed for external reuse.
  org.codehaus.jackson.smile | Package that contains experimental implementation of "Binary-Encoded JSON-Like" data format handlers (parser, generator, factory produce both, supporting constants).

- - ### Uses of IOContext in org.codehaus.jackson

    Methods in org.codehaus.jackson that return IOContext
    Modifier and Type | Method and Description
    --- | ---
    `protected IOContext` | JsonFactory.`_createContext(Object srcRef, boolean resourceManaged)` Overridable factory method that actually instantiates desired context object.

    Methods in org.codehaus.jackson with parameters of type IOContext
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonGenerator` | JsonFactory.`_createJsonGenerator(Writer out, IOContext ctxt)` Overridable factory method that actually instantiates generator for given `Writer` and context object.
    `protected JsonParser` | JsonFactory.`_createJsonParser(byte[] data, int offset, int len, IOContext ctxt)` Overridable factory method that actually instantiates parser using given `Reader` object for reading content passed as raw byte array.
    `protected JsonParser` | JsonFactory.`_createJsonParser(InputStream in, IOContext ctxt)` Overridable factory method that actually instantiates desired parser given `InputStream` and context object.
    `protected JsonParser` | JsonFactory.`_createJsonParser(Reader r, IOContext ctxt)` Overridable factory method that actually instantiates parser using given `Reader` object for reading content.
    `protected JsonGenerator` | JsonFactory.`_createUTF8JsonGenerator(OutputStream out, IOContext ctxt)` Overridable factory method that actually instantiates generator for given `OutputStream` and context object, using UTF-8 encoding.
    `protected Writer` | JsonFactory.`_createWriter(OutputStream out, JsonEncoding enc, IOContext ctxt)`

  - ### Uses of IOContext in org.codehaus.jackson.impl

    Fields in org.codehaus.jackson.impl declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | ByteSourceBootstrapper.`_context`
    `protected IOContext` | WriterBasedGenerator.`_ioContext`
    `protected IOContext` | Utf8Generator.`_ioContext`
    `protected IOContext` | JsonParserBase.`_ioContext` I/O context for this reader.

    Constructors in org.codehaus.jackson.impl with parameters of type IOContext
    Constructor and Description
    `ByteSourceBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)`
    `ByteSourceBootstrapper(IOContext ctxt, InputStream in)`
    `JsonNumericParserBase(IOContext ctxt, int features)` Deprecated.
    `JsonParserBase(IOContext ctxt, int features)`
    `ReaderBasedParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)`
    `ReaderBasedParserBase(IOContext ctxt, int features, Reader r)` Deprecated.
    `StreamBasedParserBase(IOContext ctxt, int features, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)` Deprecated.
    `Utf8Generator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out)`
    `Utf8Generator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)`
    `Utf8StreamParser(IOContext ctxt, int features, InputStream in, ObjectCodec codec, BytesToNameCanonicalizer sym, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`
    `WriterBasedGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w)`

  - ### Uses of IOContext in org.codehaus.jackson.io

    Fields in org.codehaus.jackson.io declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | UTF8Writer.`_context`
    `protected IOContext` | MergedStream.`_context`

    Methods in org.codehaus.jackson.io with parameters of type IOContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract InputStream` | InputDecorator.`decorate(IOContext ctxt, byte[] src, int offset, int length)` Method called by `JsonFactory` instance when creating parser on given "raw" byte source.
    `abstract InputStream` | InputDecorator.`decorate(IOContext ctxt, InputStream in)` Method called by `JsonFactory` instance when creating parser given an `InputStream`, when this decorator has been registered.
    `abstract OutputStream` | OutputDecorator.`decorate(IOContext ctxt, OutputStream out)` Method called by `JsonFactory` instance when creating generator for given `OutputStream`, when this decorator has been registered.
    `abstract Reader` | InputDecorator.`decorate(IOContext ctxt, Reader src)` Method called by `JsonFactory` instance when creating parser given an `Reader`, when this decorator has been registered.
    `abstract Writer` | OutputDecorator.`decorate(IOContext ctxt, Writer w)` Method called by `JsonFactory` instance when creating generator for given `Writer`, when this decorator has been registered.

    Constructors in org.codehaus.jackson.io with parameters of type IOContext
    Constructor and Description
    `MergedStream(IOContext context, InputStream in, byte[] buf, int start, int end)`
    `UTF32Reader(IOContext ctxt, InputStream in, byte[] buf, int ptr, int len, boolean isBigEndian)`
    `UTF8Writer(IOContext ctxt, OutputStream out)`

  - ### Uses of IOContext in org.codehaus.jackson.smile

    Fields in org.codehaus.jackson.smile declared as IOContext
    Modifier and Type | Field and Description
    --- | ---
    `protected IOContext` | SmileGenerator.`_ioContext`

    Methods in org.codehaus.jackson.smile with parameters of type IOContext
    Modifier and Type | Method and Description
    --- | ---
    `protected SmileGenerator` | SmileFactory.`_createJsonGenerator(OutputStream out, IOContext ctxt)`
    `protected JsonGenerator` | SmileFactory.`_createJsonGenerator(Writer out, IOContext ctxt)` Overridable factory method that actually instantiates desired generator.
    `protected SmileParser` | SmileFactory.`_createJsonParser(byte[] data, int offset, int len, IOContext ctxt)` Overridable factory method that actually instantiates desired parser.
    `protected SmileParser` | SmileFactory.`_createJsonParser(InputStream in, IOContext ctxt)` Overridable factory method that actually instantiates desired parser.
    `protected JsonParser` | SmileFactory.`_createJsonParser(Reader r, IOContext ctxt)` Overridable factory method that actually instantiates desired parser.
    `protected Writer` | SmileFactory.`_createWriter(OutputStream out, JsonEncoding enc, IOContext ctxt)`

    Constructors in org.codehaus.jackson.smile with parameters of type IOContext
    Constructor and Description
    `SmileGenerator(IOContext ctxt, int jsonFeatures, int smileFeatures, ObjectCodec codec, OutputStream out)`
    `SmileGenerator(IOContext ctxt, int jsonFeatures, int smileFeatures, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int offset, boolean bufferRecyclable)`
    `SmileParser(IOContext ctxt, int parserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer sym, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`
    `SmileParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)`
    `SmileParserBootstrapper(IOContext ctxt, InputStream in)`