Modifier and Type | Method and Description |
---|---|
<T> Converter<T> |
getConverter(Class<? extends T> type)
Gets the converter registered with the given type.
|
static ConverterRegistry |
getInstance()
Gets the singleton instance of the registry.
|
<T> void |
setConverter(Class<? extends T> type,
Converter<T> converter)
Sets the converter to be used for the specified type.
|
public static ConverterRegistry getInstance()
public <T> void setConverter(Class<? extends T> type, Converter<T> converter)
type
- The type.converter
- The converter.Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.