public interface ValueReader
Value,
Value.get(Class)| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
isCompatible(Class<T> 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.
|
<T> boolean isCompatible(Class<T> clazz)
T - the typeclazz - - Class to be verified<T> T read(Class<T> clazz, Object value)
T - - the new type classclazz - - the new instance classvalue - - instance to be convertedCopyright © 2017–2019 Eclipse Foundation. All rights reserved.