| Modifier and Type | Field and Description |
|---|---|
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvert(Class<T>
the Class representing the object type to be converted type)Implements abstract com. Implements com. |
| public Object | fromString(String
the String with the single value of the Object str)Implements abstract com. Implements com. |
| public String | toString(Object
the Object to be converted obj)Overrides com. Implements com. |
| enumType | back to summary |
|---|---|
| private final Class<? extends Enum<E extends Enum<E>>> enumType | |
| EnumSingleValueConverter | back to summary |
|---|---|
| public EnumSingleValueConverter(Class<? extends Enum<E extends Enum<E>>> type) | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(Class<T> type) Implements abstract com. Implements com. Doc from com. Determines whether the converter can marshall a particular type. | |
| fromString | back to summary |
|---|---|
| public Object fromString(String str) Implements abstract com. Implements com. Doc from com. Unmarshals an Object from its single value representation. | |
| toString | back to summary |
|---|---|
| public String toString(Object obj) Overrides com. Implements com. Doc from com. Marshals an Object into a single value representation. | |