Uses of Class
org.codehaus.jackson.io.IOContext
Packages that use IOContext
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser
)
and generator
(JsonParser
)
instances.Parser and generator implementation classes that Jackson
defines and uses.
This package contains I/O helper classes Jackson itself uses, but that
are not exposed for external reuse.
-
Uses of IOContext in org.codehaus.jackson
Methods in org.codehaus.jackson that return IOContextModifier and TypeMethodDescriptionprotected 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 IOContextModifier and TypeMethodDescriptionprotected JsonGenerator
JsonFactory._createJsonGenerator
(Writer out, IOContext ctxt) Overridable factory method that actually instantiates generator for givenWriter
and context object.protected JsonParser
JsonFactory._createJsonParser
(byte[] data, int offset, int len, IOContext ctxt) Overridable factory method that actually instantiates parser using givenReader
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 givenInputStream
and context object.protected JsonParser
JsonFactory._createJsonParser
(Reader r, IOContext ctxt) Overridable factory method that actually instantiates parser using givenReader
object for reading content.protected JsonGenerator
JsonFactory._createUTF8JsonGenerator
(OutputStream out, IOContext ctxt) Overridable factory method that actually instantiates generator for givenOutputStream
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 IOContextModifier and TypeFieldDescriptionprotected final IOContext
ByteSourceBootstrapper._context
protected final IOContext
JsonParserBase._ioContext
I/O context for this reader.protected final IOContext
Utf8Generator._ioContext
protected final IOContext
WriterBasedGenerator._ioContext
Constructors in org.codehaus.jackson.impl with parameters of type IOContextModifierConstructorDescriptionByteSourceBootstrapper
(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen) ByteSourceBootstrapper
(IOContext ctxt, InputStream in) protected
JsonNumericParserBase
(IOContext ctxt, int features) Deprecated.protected
JsonParserBase
(IOContext ctxt, int features) ReaderBasedParser
(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st) protected
ReaderBasedParserBase
(IOContext ctxt, int features, Reader r) Deprecated.protected
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 IOContextModifier and TypeFieldDescriptionprotected final IOContext
BaseReader._context
protected final IOContext
MergedStream._context
protected final IOContext
UTF8Writer._context
Methods in org.codehaus.jackson.io with parameters of type IOContextModifier and TypeMethodDescriptionabstract InputStream
Method called byJsonFactory
instance when creating parser on given "raw" byte source.abstract InputStream
InputDecorator.decorate
(IOContext ctxt, InputStream in) Method called byJsonFactory
instance when creating parser given anInputStream
, when this decorator has been registered.abstract Reader
Method called byJsonFactory
instance when creating parser given anReader
, when this decorator has been registered.abstract OutputStream
OutputDecorator.decorate
(IOContext ctxt, OutputStream out) Method called byJsonFactory
instance when creating generator for givenOutputStream
, when this decorator has been registered.abstract Writer
Method called byJsonFactory
instance when creating generator for givenWriter
, when this decorator has been registered.Constructors in org.codehaus.jackson.io with parameters of type IOContextModifierConstructorDescriptionMergedStream
(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)