Interface IConverterProvider
public interface IConverterProvider
An interface to obtain a converter for an arbitrary type.
This interface is primarily intended to allow client code to configure the
ConverterContext to use a custom converter for complex types.
-
Method Summary
Modifier and TypeMethodDescriptiongetConverter(Class<?> type) Gets a converter for objects of the given type.
-
Method Details
-
getConverter
Gets a converter for objects of the given type.- Parameters:
type- The type for which to obtain a converter.- Returns:
- An appropriate converter object.
- Throws:
LinkMLRuntimeException- If any error occurs.
-