Package | Description |
---|---|
org.bson |
Contains the base BSON classes and Encoder/Decoder.
|
Modifier and Type | Method and Description |
---|---|
static List<Transformer> |
BSON.getDecodingHooks(Class clazz)
Returns the decoding hook(s) associated with the specific class
|
static List<Transformer> |
BSON.getEncodingHooks(Class<?> clazz)
Returns the encoding hook(s) associated with the specified class.
|
Modifier and Type | Method and Description |
---|---|
static void |
BSON.addDecodingHook(Class c,
Transformer t)
Registers a
Transformer to use when decoding a specific class from BSON. |
static void |
BSON.addEncodingHook(Class c,
Transformer t)
Registers a
Transformer to use to encode a specific class into BSON. |
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.
|