public class DBObjectToStringContentTypeConverter extends Object implements ContentTypeConverter<com.mongodb.DBObject,String>
Constructor and Description |
---|
DBObjectToStringContentTypeConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(com.mongodb.DBObject original)
Converts the given object into another.
|
Class<com.mongodb.DBObject> |
expectedSourceType()
The expected type of input data.
|
Class<String> |
targetType()
The returned type of IntermediateRepresentation
|
public DBObjectToStringContentTypeConverter()
public Class<com.mongodb.DBObject> expectedSourceType()
ContentTypeConverter
expectedSourceType
in interface ContentTypeConverter<com.mongodb.DBObject,String>
public Class<String> targetType()
ContentTypeConverter
targetType
in interface ContentTypeConverter<com.mongodb.DBObject,String>
public String convert(com.mongodb.DBObject original)
ContentTypeConverter
SerializedObject
instance.convert
in interface ContentTypeConverter<com.mongodb.DBObject,String>
original
- the value to convertCopyright © 2010–2017. All rights reserved.