Package | Description |
---|---|
org.bson |
Contains the base BSON classes and Encoder/Decoder.
|
Modifier and Type | Method and Description |
---|---|
static List<Transformer> |
BSON.getDecodingHooks(Class c)
Returns the decoding hook(s) associated with the specific class
|
static List<Transformer> |
BSON.getEncodingHooks(Class c)
Returns the encoding hook(s) associated with the specified class
|
Modifier and Type | Method and Description |
---|---|
static void |
BSON.addDecodingHook(Class c,
Transformer t) |
static void |
BSON.addEncodingHook(Class c,
Transformer t) |
static void |
BSON.removeDecodingHook(Class c,
Transformer t)
Remove a specific encoding hook for a specific class.
|
static void |
BSON.removeEncodingHook(Class c,
Transformer t)
Remove a specific encoding hook for a specific class.
|