public class StringToDBObjectContentTypeConverter extends AbstractContentTypeConverter<String,com.mongodb.DBObject>
| Constructor and Description |
|---|
StringToDBObjectContentTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
convert(String original)
Converts the given object into another.
|
Class<String> |
expectedSourceType()
The expected type of input data.
|
Class<com.mongodb.DBObject> |
targetType()
The returned type of IntermediateRepresentation
|
convertpublic StringToDBObjectContentTypeConverter()
public Class<String> expectedSourceType()
ContentTypeConverterpublic Class<com.mongodb.DBObject> targetType()
ContentTypeConverterpublic com.mongodb.DBObject convert(String original)
ContentTypeConverterSerializedObject
instance.original - the value to convertCopyright © 2010-2014. All Rights Reserved.