Uses of Class
tools.jackson.core.TokenStreamLocation
Packages that use TokenStreamLocation
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).
Package for subtypes of
JacksonException
defined and used by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Non-blocking ("async") JSON parser implementation.
Utility classes used by Jackson Core functionality.
-
Uses of TokenStreamLocation in tools.jackson.core
Fields in tools.jackson.core declared as TokenStreamLocationModifier and TypeFieldDescriptionprotected TokenStreamLocationJacksonException._locationstatic final TokenStreamLocationTokenStreamLocation.NAShared immutable "N/A location" that can be returned to indicate that no location information is available.Methods in tools.jackson.core that return TokenStreamLocationModifier and TypeMethodDescriptionprivate static TokenStreamLocationJacksonException._nonNullLocation(TokenStreamLocation loc) abstract TokenStreamLocationJsonParser.currentLocation()Method that returns location of the last processed character; usually for error reporting purposes.abstract TokenStreamLocationJsonParser.currentTokenLocation()Method that return the starting location of the current token; that is, position of the first character from input that starts the current token.JacksonException.getLocation()Accessor for location information related to position within input or output (depending on operation), if available; if not available may returnTokenStreamLocation.NA(but nevernull).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.Methods in tools.jackson.core with parameters of type TokenStreamLocationModifier and TypeMethodDescriptionprotected StreamReadExceptionJsonParser._constructReadException(String msg, TokenStreamLocation loc) Helper method for constructingStreamReadExceptionbased on current state of the parser, except for specifiedTokenStreamLocationfor problem location (which may not be the exact current location)private static TokenStreamLocationJacksonException._nonNullLocation(TokenStreamLocation loc) Constructors in tools.jackson.core with parameters of type TokenStreamLocationModifierConstructorDescriptionprotectedJacksonException(Closeable processor, String msg, TokenStreamLocation loc) protectedJacksonException(Closeable processor, String msg, TokenStreamLocation loc, Throwable rootCause) protectedJacksonException(String msg, TokenStreamLocation loc, Throwable rootCause) -
Uses of TokenStreamLocation in tools.jackson.core.base
Methods in tools.jackson.core.base that return TokenStreamLocationModifier and TypeMethodDescriptionprotected TokenStreamLocationParserMinimalBase._currentLocationMinusOne()Factory method used to provide location for cases where we must read and consume a single "wrong" character (to possibly allow error recovery), but need to report accurate location for that character: if so, the current location is past location we want, and location we want will be "one location earlier". -
Uses of TokenStreamLocation in tools.jackson.core.exc
Methods in tools.jackson.core.exc that return TokenStreamLocationModifier and TypeMethodDescriptionprivate static TokenStreamLocationStreamReadException._loc(JsonParser p) Constructors in tools.jackson.core.exc with parameters of type TokenStreamLocationModifierConstructorDescriptionStreamReadException(JsonParser p, String msg, TokenStreamLocation loc) StreamReadException(JsonParser p, String msg, TokenStreamLocation loc, Throwable rootCause) -
Uses of TokenStreamLocation in tools.jackson.core.filter
Methods in tools.jackson.core.filter that return TokenStreamLocation -
Uses of TokenStreamLocation in tools.jackson.core.json
Methods in tools.jackson.core.json that return TokenStreamLocationModifier and TypeMethodDescriptionprotected TokenStreamLocationReaderBasedJsonParser._currentLocationMinusOne()protected TokenStreamLocationUTF8DataInputJsonParser._currentLocationMinusOne()protected TokenStreamLocationUTF8StreamJsonParser._currentLocationMinusOne()ReaderBasedJsonParser.currentLocation()UTF8DataInputJsonParser.currentLocation()UTF8StreamJsonParser.currentLocation()ReaderBasedJsonParser.currentTokenLocation()UTF8DataInputJsonParser.currentTokenLocation()UTF8StreamJsonParser.currentTokenLocation()DupDetector.findLocation()JsonReadContext.startLocation(ContentReference srcRef) -
Uses of TokenStreamLocation in tools.jackson.core.json.async
Methods in tools.jackson.core.json.async that return TokenStreamLocationModifier and TypeMethodDescriptionprotected TokenStreamLocationNonBlockingJsonParserBase._currentLocationMinusOne()NonBlockingJsonParserBase.currentLocation()NonBlockingJsonParserBase.currentTokenLocation() -
Uses of TokenStreamLocation in tools.jackson.core.util
Methods in tools.jackson.core.util that return TokenStreamLocationModifier and TypeMethodDescriptionJsonParserDelegate.currentLocation()JsonParserDelegate.currentTokenLocation()SimpleStreamReadContext.startLocation(ContentReference srcRef)