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