public class GeometryConverter extends TypeConverter implements SimpleValueConverter
Constructor and Description |
---|
GeometryConverter()
Sets up this converter to work with things that implement the Geometry interface
|
Modifier and Type | Method and Description |
---|---|
Object |
decode(Class<?> targetClass,
Object fromDBObject,
MappedField optionalExtraInfo)
decode the
DBObject and provide the corresponding java (type-safe) object
NOTE: optionalExtraInfo might be null |
decode, encode, encode, equals, getMapper, getSupportTypes, hashCode, isSupported, oneOf, oneOfClasses, setMapper, setSupportedTypes, setSupportTypes
public GeometryConverter()
public Object decode(Class<?> targetClass, Object fromDBObject, MappedField optionalExtraInfo)
TypeConverter
DBObject
and provide the corresponding java (type-safe) object
decode
in class TypeConverter