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