Uses of Interface
tools.jackson.core.ObjectWriteContext
Packages that use ObjectWriteContext
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Utility classes used by Jackson Core functionality.
-
Uses of ObjectWriteContext in tools.jackson.core
Classes in tools.jackson.core that implement ObjectWriteContextModifier and TypeClassDescriptionstatic classDefault no-op implementation.Fields in tools.jackson.core declared as ObjectWriteContextModifier and TypeFieldDescriptionstatic final ObjectWriteContextTokenStreamFactory.EMPTY_WRITE_CONTEXTShareable stateles "empty"ObjectWriteContextObject, passed in cases where caller had not passed actual context - "null object" of sort.Methods in tools.jackson.core that return ObjectWriteContextModifier and TypeMethodDescriptionstatic ObjectWriteContextObjectWriteContext.empty()abstract ObjectWriteContextJsonGenerator.objectWriteContext()Accessor for context object provided by higher-level databinding functionality (or, in some cases, simple placeholder of the same) that allows some level of interaction including ability to trigger serialization of Object values through generator instance.Methods in tools.jackson.core with parameters of type ObjectWriteContextModifier and TypeMethodDescriptionTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, DataOutput out) Method for constructing generator that writes content into specifiedDataOutput, using UTF-8 encoding (with formats where encoding is user-configurable).abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) Method for constructing generator that writes contents to specified file, overwriting contents it might have (or creating it if such file does not yet exist).TokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out) Method for constructing generator that writes contents using specifiedOutputStream.abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) Method for constructing generator that writes contents using specifiedOutputStreamwith specified textual encoding (if applicable).abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, Writer w) Method for constructing generator that writes contents using specifiedWriter.abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) Method for constructing generator that writes contents to specified path, overwriting contents it might have (or creating it if such path does not yet exist). -
Uses of ObjectWriteContext in tools.jackson.core.base
Fields in tools.jackson.core.base declared as ObjectWriteContextModifier and TypeFieldDescriptionprotected final ObjectWriteContextGeneratorBase._objectWriteContextContext object used both to pass some initial settings and to allow triggering of Object serialization through generator.Methods in tools.jackson.core.base that return ObjectWriteContextMethods in tools.jackson.core.base with parameters of type ObjectWriteContextModifier and TypeMethodDescriptionprotected abstract JsonGeneratorBinaryTSFactory._createGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, OutputStream out) Overridable factory method that actually instantiates generator for givenOutputStreamand context object, using UTF-8 encoding.protected abstract JsonGeneratorTextualTSFactory._createGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, Writer out) Overridable factory method that actually instantiates generator for givenWriterand context object.protected abstract JsonGeneratorTextualTSFactory._createUTF8Generator(ObjectWriteContext writeCtxt, IOContext ioCtxt, OutputStream out) Overridable factory method that actually instantiates generator for givenOutputStreamand context object, using UTF-8 encoding.BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, Writer w) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, Writer w) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) Constructors in tools.jackson.core.base with parameters of type ObjectWriteContextModifierConstructorDescriptionprotectedGeneratorBase(ObjectWriteContext writeCtxt, IOContext ioCtxt, int streamWriteFeatures) -
Uses of ObjectWriteContext in tools.jackson.core.json
Methods in tools.jackson.core.json with parameters of type ObjectWriteContextModifier and TypeMethodDescriptionprotected JsonGeneratorJsonFactory._createGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, Writer out) protected JsonGeneratorJsonFactory._createUTF8Generator(ObjectWriteContext writeCtxt, IOContext ioCtxt, OutputStream out) Constructors in tools.jackson.core.json with parameters of type ObjectWriteContextModifierConstructorDescriptionprotectedJsonGeneratorBase(ObjectWriteContext writeCtxt, IOContext ioCtxt, int streamWriteFeatures, int formatWriteFeatures, SerializableString rootValueSeparator, PrettyPrinter pp, CharacterEscapes charEsc, int maxNonEscaped) UTF8JsonGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, int streamWriteFeatures, int formatWriteFeatures, OutputStream out, SerializableString rootValueSep, CharacterEscapes charEsc, PrettyPrinter pp, int maxNonEscaped, char quoteChar) UTF8JsonGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, int streamWriteFeatures, int formatWriteFeatures, OutputStream out, SerializableString rootValueSep, CharacterEscapes charEsc, PrettyPrinter pp, int maxNonEscaped, char quoteChar, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable) WriterBasedJsonGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt, int streamWriteFeatures, int formatWriteFeatures, Writer w, SerializableString rootValueSep, PrettyPrinter pp, CharacterEscapes charEsc, int maxNonEscaped, char quoteChar) -
Uses of ObjectWriteContext in tools.jackson.core.util
Methods in tools.jackson.core.util that return ObjectWriteContext