public static class DefaultConfigTypeAdapters.ArrayTypeAdapter extends DefaultConfigTypeAdapters.PrimitiveAbstractTypeAdapter<Object>
| Constructor and Description |
|---|
DefaultConfigTypeAdapters.ArrayTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWritingChildren(Field field)
Should indicate whether the specified field will generate a child when writing configuration
|
Object |
read(ReflectiveConfig config,
ReflectiveConfig.ConfigReader reader,
Field field)
Reads an attribute from configuration into its serialized form
|
void |
write(Object serialized,
ReflectiveConfig config,
ReflectiveConfig.ConfigWriter writer,
Field field)
Writes the serialized representation to the configuration backend.
|
deserialize, merge, serializepublic DefaultConfigTypeAdapters.ArrayTypeAdapter()
public boolean isWritingChildren(Field field)
ReflectiveConfig.ConfigTypeAdapterisWritingChildren in interface ReflectiveConfig.ConfigTypeAdapter<Object,Object>isWritingChildren in class DefaultConfigTypeAdapters.PrimitiveAbstractTypeAdapter<Object>public Object read(ReflectiveConfig config, ReflectiveConfig.ConfigReader reader, Field field) throws ConfigurationException
ReflectiveConfig.ConfigTypeAdapterconfig - ReflectiveConfig that can be used e.g. to retrieve
DicomConfiguration Can be null!reader - ConfigReader to usefield - Config field. Can be used to read additional annotations,
check type, etc.ConfigurationExceptionpublic void write(Object serialized, ReflectiveConfig config, ReflectiveConfig.ConfigWriter writer, Field field) throws ConfigurationException
ReflectiveConfig.ConfigTypeAdapterwrite in interface ReflectiveConfig.ConfigTypeAdapter<Object,Object>write in class DefaultConfigTypeAdapters.PrimitiveAbstractTypeAdapter<Object>config - ReflectiveConfig that can be used e.g. to retrieve
DicomConfiguration Can be null!writer - ConfigWriter to usefield - Config field. Can be used to read additional annotations,
check type, etc.ConfigurationExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.