public static class DefaultConfigTypeAdapters.DeviceTypeAdapter extends DefaultConfigTypeAdapters.CommonAbstractTypeAdapter<Device>
| Constructor and Description |
|---|
DefaultConfigTypeAdapters.DeviceTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Device |
deserialize(String serialized,
ReflectiveConfig config,
Field field)
Constructs an object from its serialized form
|
String |
serialize(Device obj,
ReflectiveConfig config,
Field field)
Constructs a serialized representation of an object
|
isWritingChildren, merge, read, writepublic DefaultConfigTypeAdapters.DeviceTypeAdapter()
public Device deserialize(String serialized, ReflectiveConfig config, Field field) throws ConfigurationException
ReflectiveConfig.ConfigTypeAdapterconfig - ReflectiveConfig that can be used e.g. to retrieve
DicomConfiguration Can be null!field - Config field. Can be used to read additional annotations,
check type, etc.ConfigurationExceptionpublic String serialize(Device obj, ReflectiveConfig config, Field field) throws ConfigurationException
ReflectiveConfig.ConfigTypeAdapterconfig - ReflectiveConfig that can be used e.g. to retrieve
DicomConfiguration Can be null!field - Config field. Can be used to read additional annotations,
check type, etc.ConfigurationExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.