public class StringToDBObjectContentTypeConverter extends Object implements ContentTypeConverter<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
|
public StringToDBObjectContentTypeConverter()
public Class<String> expectedSourceType()
ContentTypeConverter
expectedSourceType
in interface ContentTypeConverter<String,com.mongodb.DBObject>
public Class<com.mongodb.DBObject> targetType()
ContentTypeConverter
targetType
in interface ContentTypeConverter<String,com.mongodb.DBObject>
public com.mongodb.DBObject convert(String original)
ContentTypeConverter
SerializedObject
instance.convert
in interface ContentTypeConverter<String,com.mongodb.DBObject>
original
- the value to convertCopyright © 2010–2017. All rights reserved.