public abstract class AbstractValueDeserializer
extends java.lang.Object
IValueDeserializer.
Presently, this is limited to supportive routines to resolve enumeration values.| Constructor and Description |
|---|
AbstractValueDeserializer()
Create an abstract value deserializer.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends java.lang.Enum<T>> |
enumerationValueOf(java.lang.Class<T> enumType,
int ordinal)
Compute the correct enumeration value for the given
enumType and ordinal value. |
public AbstractValueDeserializer()
protected <T extends java.lang.Enum<T>> T enumerationValueOf(java.lang.Class<T> enumType,
int ordinal)
throws RecordInstantiationException
enumType and ordinal value.T - enumeration typeenumType - class type referring to an enumeration typeordinal - the ordinal number of an element of the enumeration typeRecordInstantiationException - in case the ordinal value does not specify an element of the specified enumerationCopyright 2020 Kieker Project, http://kieker-monitoring.net