public class DBObjectToStringContentTypeConverter extends AbstractContentTypeConverter<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
|
convert
public DBObjectToStringContentTypeConverter()
public Class<com.mongodb.DBObject> expectedSourceType()
ContentTypeConverter
public Class<String> targetType()
ContentTypeConverter
public String convert(com.mongodb.DBObject original)
ContentTypeConverter
SerializedObject
instance.original
- the value to convertCopyright © 2010-2014. All Rights Reserved.