Interface IConverterDelegate
- All Known Implementing Classes:
ConverterDelegate
public interface IConverterDelegate
Interface for delegates for the converter.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis object should attempt to convert the object to the specified type.
-
Method Details
-
parse
This object should attempt to convert the object to the specified type. If the delegate does not support a conversion to the requested type, a null value should be returned.- Parameters:
obj
- The object that needs to be converted.type
- The type the object needs to be converted to.- Returns:
- The converted value, or null if the delegate does not support the conversion.
- Throws:
ConversionException
- This exception should be thrown when the delegate does support the conversion, but the provided object could not be converted.
-