|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.jackson.JsonParser
org.codehaus.jackson.impl.JsonParserMinimalBase
de.undercouch.bson4jackson.BsonParser
net.vz.mongodb.jackson.internal.stream.DBDecoderBsonParser
public class DBDecoderBsonParser
Parser that wraps BSONParser to convert bson4jackson ObjectIds to org.bson ObjectIds, and stores error codes
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.undercouch.bson4jackson.BsonParser |
---|
de.undercouch.bson4jackson.BsonParser.Feature |
Nested classes/interfaces inherited from class org.codehaus.jackson.JsonParser |
---|
org.codehaus.jackson.JsonParser.NumberType |
Field Summary |
---|
Fields inherited from class org.codehaus.jackson.impl.JsonParserMinimalBase |
---|
INT_APOSTROPHE, INT_ASTERISK, INT_b, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_f, INT_LBRACKET, INT_LCURLY, INT_LF, INT_n, INT_QUOTE, INT_r, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_t, INT_TAB, INT_u |
Fields inherited from class org.codehaus.jackson.JsonParser |
---|
_currToken, _features, _lastClearedToken |
Constructor Summary | |
---|---|
DBDecoderBsonParser(int jsonFeatures,
InputStream in,
JacksonDBObject<?> dbObject,
JacksonDBCollection dbCollection)
|
Method Summary | |
---|---|
JacksonDBCollection |
getDBCollection()
Get the JacksonDBCollection that this object knows about |
Object |
getEmbeddedObject()
|
boolean |
handleUnknownProperty(org.codehaus.jackson.map.DeserializationContext ctxt,
org.codehaus.jackson.map.JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
|
Methods inherited from class de.undercouch.bson4jackson.BsonParser |
---|
_handleEOF, close, getBigIntegerValue, getBinaryValue, getCodec, getContext, getCurrentLocation, getCurrentName, getDecimalValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getNumberType, getNumberValue, getParsingContext, getText, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, handleBinary, handleDBPointer, handleJavascriptWithScope, handleNewDocument, handleRegEx, hasTextCharacters, isClosed, isEnabled, nextToken, readCString, readDocument, readObjectId, readString, readSymbol, readTimestamp, regexStrToFlags, setCodec, skipCString |
Methods inherited from class org.codehaus.jackson.impl.JsonParserMinimalBase |
---|
_constructError, _decodeBase64, _getCharDesc, _handleUnrecognizedCharacterEscape, _reportBase64EOF, _reportError, _reportInvalidBase64, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _throwUnquotedSpace, _wrapError, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsLong, skipChildren |
Methods inherited from class org.codehaus.jackson.JsonParser |
---|
_constructError, canUseSchema, clearCurrentToken, configure, disable, disableFeature, enable, enableFeature, getBinaryValue, getBooleanValue, getByteValue, getCurrentToken, getInputSource, getLastClearedToken, getShortValue, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsLong, hasCurrentToken, isEnabled, isExpectedStartArrayToken, isFeatureEnabled, nextBooleanValue, nextFieldName, nextIntValue, nextLongValue, nextTextValue, nextValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, setFeature, setSchema, version |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBDecoderBsonParser(int jsonFeatures, InputStream in, JacksonDBObject<?> dbObject, JacksonDBCollection dbCollection)
Method Detail |
---|
public Object getEmbeddedObject() throws IOException, org.codehaus.jackson.JsonParseException
getEmbeddedObject
in class de.undercouch.bson4jackson.BsonParser
IOException
org.codehaus.jackson.JsonParseException
public boolean handleUnknownProperty(org.codehaus.jackson.map.DeserializationContext ctxt, org.codehaus.jackson.map.JsonDeserializer<?> deserializer, Object beanOrClass, String propertyName) throws IOException
IOException
public JacksonDBCollection getDBCollection()
JacksonDBCollectionProvider
getDBCollection
in interface JacksonDBCollectionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |