Package | Description |
---|---|
org.bson |
Contains the base BSON classes and Encoder/Decoder.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicBSONCallback
An implementation of
BsonCallback that creates an instance of BSONObject. |
class |
EmptyBSONCallback
Convenience implementation of BSONCallback that throws
UnsupportedOperationException for all methods. |
class |
LazyBSONCallback
A
BSONCallback for creation of LazyBSONObject and LazyBSONList instances. |
Modifier and Type | Field and Description |
---|---|
protected BSONCallback |
BasicBSONDecoder._callback
Deprecated.
This field should not be a part of API.
Please see the class-level documentation for a migration instructions.
|
Modifier and Type | Method and Description |
---|---|
BSONCallback |
BSONCallback.createBSONCallback()
Factory method for BSONCallbacks.
|
BSONCallback |
BasicBSONCallback.createBSONCallback() |
BSONCallback |
EmptyBSONCallback.createBSONCallback() |
Modifier and Type | Method and Description |
---|---|
int |
NewBSONDecoder.decode(byte[] pData,
BSONCallback pCallback)
Deprecated.
|
int |
LazyBSONDecoder.decode(byte[] b,
BSONCallback callback) |
int |
BasicBSONDecoder.decode(byte[] b,
BSONCallback callback) |
int |
BSONDecoder.decode(byte[] bytes,
BSONCallback callback)
Decode a single BSON object into the given callback from the given byte array.
|
int |
NewBSONDecoder.decode(java.io.InputStream pIn,
BSONCallback pCallback)
Deprecated.
|
int |
LazyBSONDecoder.decode(java.io.InputStream in,
BSONCallback callback) |
int |
BasicBSONDecoder.decode(java.io.InputStream in,
BSONCallback callback) |
int |
BSONDecoder.decode(java.io.InputStream in,
BSONCallback callback)
Decode a single BSON object into the given callback from the given input stream.
|