| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | _binaryValue
We will hold on to decoded binary data, for duration of
current event, so that multiple calls to
|
| protected boolean | _closed
Flag that indicates whether parser is closed or not. |
| protected long | _currInputProcessed
Number of characters/bytes that were contained in previous blocks (blocks that were already processed prior to the current buffer). |
| protected int | _formatFeatures
Bit flag composed of bits that indicate which
|
| protected int | _inputEnd
Index of character after last available one in the buffer. |
| protected int | _inputPtr
Pointer to next available character in buffer |
| protected final IOContext | _ioContext
I/O context for this reader. |
| protected boolean | _mayContainRawBinary
Flag that indicates whether content can legally have raw (unquoted) binary data. |
| protected boolean | _nameCopied
Flag set to indicate whether the field name is available from the name copy buffer or not (in addition to its String representation being available via read context) |
| protected char[] | _nameCopyBuffer
Temporary buffer that is needed if field name is accessed
using |
| protected BigDecimal | |
| protected BigInteger | |
| protected double | |
| protected float | |
| protected int | |
| protected long | |
| protected JsonParser. | |
| protected int | _numTypesValid
Bitfield that indicates which numeric representations have been calculated for the current type |
| protected int | _quad1
Quads used for hash calculation |
| protected int | _quad2
Quads used for hash calculation |
| protected int | _quad3
Quads used for hash calculation |
| protected int[] | _quadBuffer
Temporary buffer used for name parsing. |
| protected int | |
| protected String[] | _seenNames
Array of recently seen field names, which may be back referenced by later fields. |
| protected int | |
| protected String[] | _seenStringValues
Array of recently seen field names, which may be back referenced by later fields Defaults set to disable handling if no header found. |
| protected JsonReadContext | _streamReadContext
Information about parser context, context in which the next token is to be parsed (root, array, object). |
| protected final ByteQuadsCanonicalizer | _symbols
Symbol table that contains field names encountered so far |
| protected final boolean | _symbolsCanonical
Marker flag to indicate that standard symbol handling is used (one with symbol table assisted canonicalization. |
| protected final TextBuffer | _textBuffer
Buffer that contains contents of String values, including field names if necessary (name split across boundary, contains escape sequence, or access needed to char array) |
| protected int | _tokenOffsetForTotal
Alternative to |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final String[] | |
| protected static final JacksonFeatureSet |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected void | _handleEOF()
Implements abstract com. |
| protected abstract void | |
| protected final void | |
| protected abstract void | |
| protected void | |
| protected ContentReference | _sourceReference()
Helper method used to encapsulate logic of including (or not) of
"source reference" when constructing |
| public final void | close()
Implements abstract com. Implements java. Feature#AUTO_CLOSE_SOURCE is enabled.
|
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| public final BigInteger | getBigIntegerValue()
Implements abstract com. JsonToken#VALUE_NUMBER_INT and
it can not be used as a Java long primitive type due to its
magnitude.
|
| public final JsonLocation | getCurrentLocation()
Implements abstract com. |
| public final String | getCurrentName()
Implements abstract com. |
| public final BigDecimal | getDecimalValue()
Implements abstract com. JsonToken#VALUE_NUMBER_FLOAT or
JsonToken#VALUE_NUMBER_INT.
|
| public final double | getDoubleValue()
Implements abstract com. JsonToken#VALUE_NUMBER_FLOAT and
it can be expressed as a Java double primitive type.
|
| public final float | getFloatValue()
Implements abstract com. JsonToken#VALUE_NUMBER_FLOAT and
it can be expressed as a Java float primitive type.
|
| public final int | getFormatFeatures()
Overrides com. FormatFeatures, format-specific
on/off configuration settings.
|
| public final int | getIntValue()
Implements abstract com. JsonToken#VALUE_NUMBER_INT and
it can be expressed as a value of Java int primitive type.
|
| public final long | getLongValue()
Implements abstract com. JsonToken#VALUE_NUMBER_INT and
it can be expressed as a Java long primitive type.
|
| public final JsonParser. | getNumberType()
Implements abstract com. JsonToken#VALUE_NUMBER_INT or
JsonToken#VALUE_NUMBER_FLOAT, returns
one of NumberType constants; otherwise returns null.
|
| public final Number | getNumberValue()
Implements abstract com. |
| public final Number | getNumberValueExact()
Overrides com. getNumberValue with the difference that
for floating-point numbers value returned may be BigDecimal
if the underlying format does not store floating-point numbers using
native representation: for example, textual formats represent numbers
as Strings (which are 10-based), and conversion to java.
is potentially lossy operation.
|
| public final JsonReadContext | getParsingContext()
Implements abstract com. |
| public JacksonFeatureSet | getReadCapabilities()
Overrides com. |
| public final JsonLocation | getTokenLocation()
Implements abstract com. |
| public final boolean | isClosed()
Implements abstract com. |
| public final boolean | isNaN()
Overrides com. JsonToken#VALUE_NUMBER_FLOAT.
|
| public final boolean | |
| public final void | overrideCurrentName(String
Name to use as the current name; may be null. name)Implements abstract com. |
| public final JsonParser | overrideFormatFeatures(int
Bit mask of set/clear state for features to change values, int Bit mask of features to change mask)Overrides com. FormatFeatures,
by specifying values (set / clear) along with a mask, to determine
which features to change, if any.
|
| public StreamReadConstraints | streamReadConstraints()
Overrides com. |
| public final Version | version()
Implements abstract com. Implements com. |