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