PropertyEditor implementation used for a
specific type. The converter ensures that the editors can be used concurrently.
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadSafePropertyEditor | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvert(final Class<T>
the Class representing the object type to be converted type)Implements com. |
| public Object | fromString(final String
the String with the single value of the Object str)Implements com. |
| public String | toString(final Object
the Object to be converted obj)Implements com. |
| editor | back to summary |
|---|---|
| private final ThreadSafePropertyEditor editor | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| PropertyEditorCapableConverter | back to summary |
|---|---|
| public PropertyEditorCapableConverter(final Class<T> propertyEditorType, final Class<T> type) | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(final Class<T> type) Implements com. Doc from com. Determines whether the converter can marshall a particular type.
| |
| fromString | back to summary |
|---|---|
| public Object fromString(final String str) Implements com. Doc from com. Unmarshals an Object from its single value representation. | |
| toString | back to summary |
|---|---|
| public String toString(final Object obj) Implements com. Doc from com. Marshals an Object into a single value representation. | |