public interface Transformer
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
transform(java.lang.Object objectToTransform)
Turns the
objectToTransform into some other Object . |
java.lang.Object transform(java.lang.Object objectToTransform)
objectToTransform
into some other Object
. This can either be turning a simple BSON-friendly object into a
different Java type, or it can be turning a Java type that can't automatically be converted into BSON into something that can.objectToTransform
- the object that needs to be transformed.