public final class ValueReaderDecorator extends Object implements ValueReader
ValueReader supported by DianaValueReader| Constructor and Description |
|---|
ValueReaderDecorator() |
| Modifier and Type | Method and Description |
|---|---|
static ValueReaderDecorator |
getInstance() |
boolean |
isCompatible(Class clazz)
verifies if the reader has support of instance from this class.
|
<T> T |
read(Class<T> clazz,
Object value)
Once this implementation is compatible with the class type, the next step it converts an
instance to this new one from the rightful class.
|
String |
toString() |
public static ValueReaderDecorator getInstance()
public boolean isCompatible(Class clazz)
ValueReaderisCompatible in interface ValueReaderclazz - - Class to be verifiedpublic <T> T read(Class<T> clazz, Object value)
ValueReaderread in interface ValueReaderT - - the new type classclazz - - the new instance classvalue - - instance to be convertedCopyright © 2017–2019 Eclipse Foundation. All rights reserved.