protected static final class TokenBuffer.Parser
extends com.fasterxml.jackson.core.base.ParserMinimalBase
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
_byteBuilder |
protected boolean |
_closed |
protected com.fasterxml.jackson.core.ObjectCodec |
_codec |
protected boolean |
_hasNativeIds |
protected boolean |
_hasNativeObjectIds |
protected boolean |
_hasNativeTypeIds |
protected com.fasterxml.jackson.core.JsonLocation |
_location |
protected com.fasterxml.jackson.core.json.JsonReadContext |
_parsingContext
Information about parser context, context in which
the next token is to be parsed (root, array, object).
|
protected TokenBuffer.Segment |
_segment
Currently active segment
|
protected int |
_segmentPtr
Pointer to current token within current segment
|
| Constructor and Description |
|---|
TokenBuffer.Parser(TokenBuffer.Segment firstSeg,
com.fasterxml.jackson.core.ObjectCodec codec,
boolean hasNativeTypeIds,
boolean hasNativeObjectIds) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_checkIsNumber() |
protected java.lang.Object |
_currentObject() |
protected void |
_handleEOF() |
boolean |
canReadObjectId() |
boolean |
canReadTypeId() |
void |
close() |
java.math.BigInteger |
getBigIntegerValue() |
byte[] |
getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
com.fasterxml.jackson.core.ObjectCodec |
getCodec() |
com.fasterxml.jackson.core.JsonLocation |
getCurrentLocation() |
java.lang.String |
getCurrentName() |
java.math.BigDecimal |
getDecimalValue() |
double |
getDoubleValue() |
java.lang.Object |
getEmbeddedObject() |
float |
getFloatValue() |
int |
getIntValue() |
long |
getLongValue() |
com.fasterxml.jackson.core.JsonParser.NumberType |
getNumberType() |
java.lang.Number |
getNumberValue() |
java.lang.Object |
getObjectId() |
com.fasterxml.jackson.core.JsonStreamContext |
getParsingContext() |
java.lang.String |
getText() |
char[] |
getTextCharacters() |
int |
getTextLength() |
int |
getTextOffset() |
com.fasterxml.jackson.core.JsonLocation |
getTokenLocation() |
java.lang.Object |
getTypeId() |
boolean |
hasTextCharacters() |
boolean |
isClosed() |
java.lang.String |
nextFieldName() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
overrideCurrentName(java.lang.String name) |
com.fasterxml.jackson.core.JsonToken |
peekNextToken() |
int |
readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
java.io.OutputStream out) |
void |
setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
void |
setLocation(com.fasterxml.jackson.core.JsonLocation l) |
com.fasterxml.jackson.core.Version |
version() |
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _handleUnrecognizedCharacterEscape, _hasTextualNull, _reportError, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _throwUnquotedSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, skipChildren_codec, _constructError, _reportUnsupportedOperation, canUseSchema, configure, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getFormatFeatures, getInputSource, getSchema, getShortValue, getText, getValueAsBoolean, getValueAsDouble, isEnabled, nextBooleanValue, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected com.fasterxml.jackson.core.ObjectCodec _codec
protected final boolean _hasNativeTypeIds
protected final boolean _hasNativeObjectIds
protected final boolean _hasNativeIds
protected TokenBuffer.Segment _segment
protected int _segmentPtr
protected com.fasterxml.jackson.core.json.JsonReadContext _parsingContext
protected boolean _closed
protected transient com.fasterxml.jackson.core.util.ByteArrayBuilder _byteBuilder
protected com.fasterxml.jackson.core.JsonLocation _location
public TokenBuffer.Parser(TokenBuffer.Segment firstSeg, com.fasterxml.jackson.core.ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds)
public void setLocation(com.fasterxml.jackson.core.JsonLocation l)
public com.fasterxml.jackson.core.ObjectCodec getCodec()
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)
setCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonToken peekNextToken()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserMinimalBasejava.io.IOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken()
throws java.io.IOException
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBasejava.io.IOExceptionpublic java.lang.String nextFieldName()
throws java.io.IOException
nextFieldName in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic boolean isClosed()
isClosed in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic com.fasterxml.jackson.core.JsonStreamContext getParsingContext()
getParsingContext in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic java.lang.String getCurrentName()
getCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic void overrideCurrentName(java.lang.String name)
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic java.lang.String getText()
getText in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic char[] getTextCharacters()
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic int getTextLength()
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic int getTextOffset()
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic boolean hasTextCharacters()
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic java.math.BigInteger getBigIntegerValue()
throws java.io.IOException
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic java.math.BigDecimal getDecimalValue()
throws java.io.IOException
getDecimalValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic double getDoubleValue()
throws java.io.IOException
getDoubleValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic float getFloatValue()
throws java.io.IOException
getFloatValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic int getIntValue()
throws java.io.IOException
getIntValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic long getLongValue()
throws java.io.IOException
getLongValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic com.fasterxml.jackson.core.JsonParser.NumberType getNumberType()
throws java.io.IOException
getNumberType in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic final java.lang.Number getNumberValue()
throws java.io.IOException
getNumberValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic java.lang.Object getEmbeddedObject()
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonParseException
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBasejava.io.IOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
java.io.OutputStream out)
throws java.io.IOException
readBinaryValue in class com.fasterxml.jackson.core.JsonParserjava.io.IOExceptionpublic boolean canReadObjectId()
canReadObjectId in class com.fasterxml.jackson.core.JsonParserpublic boolean canReadTypeId()
canReadTypeId in class com.fasterxml.jackson.core.JsonParserpublic java.lang.Object getTypeId()
getTypeId in class com.fasterxml.jackson.core.JsonParserpublic java.lang.Object getObjectId()
getObjectId in class com.fasterxml.jackson.core.JsonParserprotected final java.lang.Object _currentObject()
protected final void _checkIsNumber()
throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseExceptionprotected void _handleEOF()
throws com.fasterxml.jackson.core.JsonParseException
_handleEOF in class com.fasterxml.jackson.core.base.ParserMinimalBasecom.fasterxml.jackson.core.JsonParseException