public class LazyBSONCallback extends EmptyBSONCallback
| Constructor and Description |
|---|
LazyBSONCallback() |
| Modifier and Type | Method and Description |
|---|---|
List |
createArray(byte[] data,
int offset) |
Object |
createDBRef(String ns,
ObjectId id) |
Object |
createObject(byte[] data,
int offset) |
Object |
get() |
void |
gotBinary(String name,
byte type,
byte[] data) |
Object |
objectDone() |
void |
objectStart() |
void |
objectStart(boolean array) |
void |
objectStart(String name) |
void |
reset() |
void |
setRootObject(Object root)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
arrayDone, arrayStart, arrayStart, createBSONCallback, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUIDpublic void objectStart()
objectStart in interface BSONCallbackobjectStart in class EmptyBSONCallbackpublic void objectStart(String name)
objectStart in interface BSONCallbackobjectStart in class EmptyBSONCallbackpublic void objectStart(boolean array)
objectStart in interface BSONCallbackobjectStart in class EmptyBSONCallbackpublic Object objectDone()
objectDone in interface BSONCallbackobjectDone in class EmptyBSONCallbackpublic void reset()
reset in interface BSONCallbackreset in class EmptyBSONCallbackpublic Object get()
get in interface BSONCallbackget in class EmptyBSONCallbackpublic void gotBinary(String name, byte type, byte[] data)
gotBinary in interface BSONCallbackgotBinary in class EmptyBSONCallback@Deprecated public void setRootObject(Object root)
public Object createObject(byte[] data, int offset)
public List createArray(byte[] data, int offset)