public class MapJsonParser
extends JsonParser
Title: Mongo Integration
Description: JsonParser implementation for Map.
Copyright: Copyright (c) 2016
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static class |
MapJsonParser.MapJsonReadContext |
Constructor and Description |
---|
MapJsonParser(java.util.Map map) |
Modifier and Type | Method and Description |
---|---|
void |
clearCurrentToken() |
void |
close() |
java.math.BigInteger |
getBigIntegerValue() |
byte[] |
getBinaryValue(Base64Variant bv) |
ObjectCodec |
getCodec() |
JsonLocation |
getCurrentLocation() |
java.lang.String |
getCurrentName() |
JsonToken |
getCurrentToken() |
int |
getCurrentTokenId() |
java.math.BigDecimal |
getDecimalValue() |
double |
getDoubleValue() |
java.lang.Object |
getEmbeddedObject() |
float |
getFloatValue() |
int |
getIntValue() |
JsonToken |
getLastClearedToken() |
long |
getLongValue() |
NumberType |
getNumberType() |
java.lang.Number |
getNumberValue() |
JsonStreamContext |
getParsingContext() |
java.lang.String |
getText() |
char[] |
getTextCharacters() |
int |
getTextLength() |
int |
getTextOffset() |
JsonLocation |
getTokenLocation() |
long |
getValueAsLong(long def) |
java.lang.String |
getValueAsString(java.lang.String def) |
boolean |
hasCurrentToken() |
boolean |
hasTextCharacters() |
boolean |
hasToken(JsonToken jsonToken) |
boolean |
hasTokenId(int id) |
boolean |
isClosed() |
JsonToken |
nextToken() |
JsonToken |
nextValue() |
void |
overrideCurrentName(java.lang.String name) |
void |
setCodec(ObjectCodec codec) |
JsonParser |
skipChildren() |
Version |
version() |
public ObjectCodec getCodec()
public void setCodec(ObjectCodec codec)
public Version version()
public void close() throws java.io.IOException
java.io.IOException
public boolean isClosed()
public JsonToken nextToken() throws java.io.IOException, JsonParseException
java.io.IOException
JsonParseException
public JsonToken nextValue() throws java.io.IOException, JsonParseException
java.io.IOException
JsonParseException
public JsonParser skipChildren() throws java.io.IOException, JsonParseException
java.io.IOException
JsonParseException
public JsonToken getCurrentToken()
public int getCurrentTokenId()
public boolean hasCurrentToken()
public boolean hasTokenId(int id)
public boolean hasToken(JsonToken jsonToken)
public java.lang.String getCurrentName() throws java.io.IOException
java.io.IOException
public JsonStreamContext getParsingContext()
public JsonLocation getTokenLocation()
public JsonLocation getCurrentLocation()
public void clearCurrentToken()
public JsonToken getLastClearedToken()
public void overrideCurrentName(java.lang.String name)
public java.lang.String getText() throws java.io.IOException
java.io.IOException
public char[] getTextCharacters() throws java.io.IOException
java.io.IOException
public int getTextLength() throws java.io.IOException
java.io.IOException
public int getTextOffset() throws java.io.IOException
java.io.IOException
public boolean hasTextCharacters()
public java.lang.Number getNumberValue() throws java.io.IOException
java.io.IOException
public NumberType getNumberType() throws java.io.IOException
java.io.IOException
public int getIntValue() throws java.io.IOException
java.io.IOException
public long getLongValue() throws java.io.IOException
java.io.IOException
public long getValueAsLong(long def) throws java.io.IOException
java.io.IOException
public java.math.BigInteger getBigIntegerValue() throws java.io.IOException
java.io.IOException
public float getFloatValue() throws java.io.IOException
java.io.IOException
public double getDoubleValue() throws java.io.IOException
java.io.IOException
public java.math.BigDecimal getDecimalValue() throws java.io.IOException
java.io.IOException
public java.lang.Object getEmbeddedObject() throws java.io.IOException
java.io.IOException
public byte[] getBinaryValue(Base64Variant bv) throws java.io.IOException
java.io.IOException
public java.lang.String getValueAsString(java.lang.String def) throws java.io.IOException
java.io.IOException
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.