public class NamedCoordinateReferenceSystemConverter extends TypeConverter implements SimpleValueConverter
| Constructor and Description |
|---|
NamedCoordinateReferenceSystemConverter()
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 |
Object |
encode(Object value,
MappedField optionalExtraInfo)
encode the (type-safe) java object into the corresponding
DBObject |
protected boolean |
isSupported(Class<?> c,
MappedField optionalExtraInfo)
checks if the class is supported for this converter.
|
decode, encode, equals, getMapper, getSupportTypes, hashCode, oneOf, oneOfClasses, setMapper, setSupportedTypes, setSupportTypespublic NamedCoordinateReferenceSystemConverter()
protected boolean isSupported(Class<?> c, MappedField optionalExtraInfo)
TypeConverterisSupported in class TypeConverterpublic Object encode(Object value, MappedField optionalExtraInfo)
TypeConverterDBObjectencode in class TypeConverterpublic Object decode(Class<?> targetClass, Object fromDBObject, MappedField optionalExtraInfo)
TypeConverterDBObject and provide the corresponding java (type-safe) object
decode in class TypeConverter