Interface ExtensionConverterProvider
- All Known Subinterfaces:
ExtensionConverterManager
- All Known Implementing Classes:
ExtensionConverterManagerImpl
public interface ExtensionConverterProvider
-
Method Summary
Modifier and TypeMethodDescription<F extends org.opendaylight.yangtools.yang.binding.DataContainer,
P extends AugmentationPath>
ConvertorActionFromOFJava<F,P> getActionConverter
(MessageTypeKey<?> key) Lookup converter.<F extends org.opendaylight.yangtools.yang.binding.DataContainer,
P extends AugmentationPath>
ConvertorFromOFJava<F,P> getConverter
(MessageTypeKey<?> key) Lookup converter.<T extends org.opendaylight.yangtools.yang.binding.DataContainer>
ConvertorToOFJava<T>getConverter
(ConverterExtensionKey<?> key) Lookup converter.<F extends Action,
T extends org.opendaylight.yangtools.yang.binding.DataContainer>
ConvertorActionToOFJava<F,T> getConverter
(TypeVersionKey<F> key) Lookup converter.<F extends org.opendaylight.yangtools.yang.binding.DataContainer,
P extends AugmentationPath>
ConvertorMessageFromOFJava<F,P> getMessageConverter
(MessageTypeKey<?> key) Lookup converter for experimenter message.<F extends ExperimenterMessageOfChoice,
T extends org.opendaylight.yangtools.yang.binding.DataContainer, D extends ConvertorData>
ConverterMessageToOFJava<F,T, D> getMessageConverter
(TypeVersionKey<F> key) Lookup converter for experimenter message.
-
Method Details
-
getConverter
<F extends org.opendaylight.yangtools.yang.binding.DataContainer,P extends AugmentationPath> ConvertorFromOFJava<F,P> getConverter(MessageTypeKey<?> key) Lookup converter.- Type Parameters:
F
- type of parameter for getConverterP
- augmentationPath- Parameters:
key
- the message type key- Returns:
- found converter
-
getConverter
<T extends org.opendaylight.yangtools.yang.binding.DataContainer> ConvertorToOFJava<T> getConverter(ConverterExtensionKey<?> key) Lookup converter.- Type Parameters:
T
- type of parameter- Parameters:
key
- the converter extension key- Returns:
- found converter
-
getConverter
<F extends Action,T extends org.opendaylight.yangtools.yang.binding.DataContainer> ConvertorActionToOFJava<F,T> getConverter(TypeVersionKey<F> key) Lookup converter.- Type Parameters:
F
- ActiontypeT
- datacontainer- Parameters:
key
- the type version key- Returns:
- found converter
-
getActionConverter
<F extends org.opendaylight.yangtools.yang.binding.DataContainer,P extends AugmentationPath> ConvertorActionFromOFJava<F,P> getActionConverter(MessageTypeKey<?> key) Lookup converter. TODO: this method should be compatible withgetConverter(MessageTypeKey)
after matches are migrated to similar structure- Type Parameters:
F
- DataContainerP
- AugmentationPath- Parameters:
key
- the message type key- Returns:
- found converter
-
getMessageConverter
<F extends ExperimenterMessageOfChoice,T extends org.opendaylight.yangtools.yang.binding.DataContainer, ConverterMessageToOFJava<F,D extends ConvertorData> T, getMessageConverterD> (TypeVersionKey<F> key) Lookup converter for experimenter message.- Type Parameters:
F
- ExperimenterMessageOfChoiceT
- DataContainerD
- DataConvertor- Parameters:
key
- the type version key- Returns:
- found converter
-
getMessageConverter
<F extends org.opendaylight.yangtools.yang.binding.DataContainer,P extends AugmentationPath> ConvertorMessageFromOFJava<F,P> getMessageConverter(MessageTypeKey<?> key) Lookup converter for experimenter message.- Type Parameters:
F
- DataContainerP
- AugmentationPath- Parameters:
key
- the message type key- Returns:
- found converter
-