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