Uses of Class
tools.jackson.core.io.ContentReference
Packages that use ContentReference
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 ContentReference in tools.jackson.core
Fields in tools.jackson.core declared as ContentReferenceModifier and TypeFieldDescriptionprotected final ContentReferenceTokenStreamLocation._contentReferenceReference to input source; never null (but may be that ofunknown()).Methods in tools.jackson.core that return ContentReferenceModifier and TypeMethodDescriptionprotected abstract ContentReferenceTokenStreamFactory._createContentReference(Object contentRef) Overridable factory method for constructingContentReferenceto pass to parser or generator being created; used in cases where no offset or length is applicable (either irrelevant, or full contents assumed).protected abstract ContentReferenceTokenStreamFactory._createContentReference(Object contentRef, int offset, int length) Overridable factory method for constructingContentReferenceto pass to parser or generator being created; used in cases where input comes in a static buffer with relevant offset and length.TokenStreamLocation.contentReference()Accessor for information about the original input source content is being read from.Methods in tools.jackson.core with parameters of type ContentReferenceModifier and TypeMethodDescriptionprotected IOContextTokenStreamFactory._createContext(ContentReference contentRef, boolean resourceManaged) Overridable factory method that actually instantiates desired context object.protected IOContextTokenStreamFactory._createContext(ContentReference contentRef, boolean resourceManaged, JsonEncoding enc) Overridable factory method that actually instantiates desired context object.TokenStreamContext.startLocation(ContentReference srcRef) Optional method that may be used to access starting location of this context: for example, in case of JSON `Object` context, offset at which `[` token was read or written.Constructors in tools.jackson.core with parameters of type ContentReferenceModifierConstructorDescriptionTokenStreamLocation(ContentReference contentRef, long totalChars, int lineNr, int colNr) TokenStreamLocation(ContentReference contentRef, long totalBytes, long totalChars, int lineNr, int columnNr) -
Uses of ContentReference in tools.jackson.core.base
Methods in tools.jackson.core.base that return ContentReferenceModifier and TypeMethodDescriptionprotected ContentReferenceParserBase._contentReference()Helper method used to encapsulate logic of including (or not) of "content reference" when constructingTokenStreamLocationinstances.protected ContentReferenceParserBase._contentReferenceRedacted()Helper method used to encapsulate logic of providing "content reference" when constructingTokenStreamLocationinstances and source information is NOT to be included (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATIONdisabled).protected ContentReferenceBinaryTSFactory._createContentReference(Object contentRef) protected ContentReferenceBinaryTSFactory._createContentReference(Object contentRef, int offset, int length) protected ContentReferenceTextualTSFactory._createContentReference(Object contentRef) protected ContentReferenceTextualTSFactory._createContentReference(Object contentRef, int offset, int length) -
Uses of ContentReference in tools.jackson.core.io
Fields in tools.jackson.core.io declared as ContentReferenceModifier and TypeFieldDescriptionprotected final ContentReferenceIOContext._contentReferenceReference to the source object, which can be used for displaying location informationprotected static final ContentReferenceContentReference.REDACTED_CONTENTAs content will be redacted by default in Jackson 2.16 and later, we'll use a new marker reference for slightly different description from "unknown", to indicate explicit removal of source/content reference (as opposed to it missing from not being available or so)protected static final ContentReferenceContentReference.UNKNOWN_CONTENTConstant that may be used when source/target content is not known (or not exposed).Methods in tools.jackson.core.io that return ContentReferenceModifier and TypeMethodDescriptionstatic ContentReferenceContentReference.construct(boolean isContentTextual, Object rawContent, int offset, int length, ErrorReportConfiguration errorReportConfiguration) static ContentReferenceContentReference.construct(boolean isContentTextual, Object rawContent, ErrorReportConfiguration errorReportConfiguration) IOContext.contentReference()Accessor for getting (some) information about input source, mostly usable for error reporting purposes.static ContentReferenceContentReference.rawReference(boolean isContentTextual, Object rawContent) Factory method for legacy code to use for constructing instances to content about which only minimal amount of information is available.static ContentReferenceContentReference.rawReference(Object rawContent) static ContentReferenceContentReference.redacted()Accessor for getting a placeholder when actual content is not to be exposed: different fromunknown()where content is not available to be referenced.static ContentReferenceContentReference.unknown()Accessor for getting a placeholder for cases where actual content is not known (or is not something that system wants to expose).Constructors in tools.jackson.core.io with parameters of type ContentReferenceModifierConstructorDescriptionIOContext(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, BufferRecycler br, ContentReference contentRef, boolean managedResource, JsonEncoding enc) Main constructor to use. -
Uses of ContentReference in tools.jackson.core.json
Methods in tools.jackson.core.json with parameters of type ContentReference -
Uses of ContentReference in tools.jackson.core.util
Methods in tools.jackson.core.util with parameters of type ContentReference