F
- type of sourceT
- type of resultD
- the type parameterpublic abstract class Convertor<F,T,D extends ConvertorData> extends Object
Constructor and Description |
---|
Convertor() |
Modifier and Type | Method and Description |
---|---|
abstract T |
convert(F source,
D data)
Converts source to result.
|
protected ConvertorExecutor |
getConvertorExecutor()
Gets convertor manager.
|
abstract Collection<Class<?>> |
getTypes()
Gets type of convertor, used in
ConvertorManager . |
void |
setConvertorExecutor(ConvertorExecutor convertorExecutor)
Sets convertor manager.
|
protected ConvertorExecutor getConvertorExecutor()
public void setConvertorExecutor(ConvertorExecutor convertorExecutor)
convertorExecutor
- the convertor managerpublic abstract Collection<Class<?>> getTypes()
ConvertorManager
.Copyright © 2020 OpenDaylight. All rights reserved.