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