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