public abstract static class DefaultConfigTypeAdapters.CommonAbstractTypeAdapter<T> extends Object implements ReflectiveConfig.ConfigTypeAdapter<T,String>
| Constructor and Description |
|---|
DefaultConfigTypeAdapters.CommonAbstractTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWritingChildren(Field field)
Should indicate whether the specified field will generate a child when writing configuration
|
void |
merge(T prev,
T curr,
ReflectiveConfig config,
ReflectiveConfig.ConfigWriter diffwriter,
Field field) |
String |
read(ReflectiveConfig config,
ReflectiveConfig.ConfigReader reader,
Field field)
Reads an attribute from configuration into its serialized form
|
void |
write(String serialized,
ReflectiveConfig config,
ReflectiveConfig.ConfigWriter writer,
Field field)
Writes the serialized representation to the configuration backend.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic DefaultConfigTypeAdapters.CommonAbstractTypeAdapter()
public boolean isWritingChildren(Field field)
ReflectiveConfig.ConfigTypeAdapterisWritingChildren in interface ReflectiveConfig.ConfigTypeAdapter<T,String>public String read(ReflectiveConfig config, ReflectiveConfig.ConfigReader reader, Field field) throws ConfigurationException
ReflectiveConfig.ConfigTypeAdapterread in interface ReflectiveConfig.ConfigTypeAdapter<T,String>config - 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(String serialized, ReflectiveConfig config, ReflectiveConfig.ConfigWriter writer, Field field)
ReflectiveConfig.ConfigTypeAdapterwrite in interface ReflectiveConfig.ConfigTypeAdapter<T,String>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.public void merge(T prev, T curr, ReflectiveConfig config, ReflectiveConfig.ConfigWriter diffwriter, Field field) throws ConfigurationException
merge in interface ReflectiveConfig.ConfigTypeAdapter<T,String>ConfigurationExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.