Interface ExtensionConverterProvider

All Known Subinterfaces:
ExtensionConverterManager
All Known Implementing Classes:
ExtensionConverterManagerImpl

public interface ExtensionConverterProvider
  • 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 getConverter
      P - 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 - Actiontype
      T - 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 with getConverter(MessageTypeKey) after matches are migrated to similar structure
      Type Parameters:
      F - DataContainer
      P - AugmentationPath
      Parameters:
      key - the message type key
      Returns:
      found converter
    • getMessageConverter

      <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.
      Type Parameters:
      F - ExperimenterMessageOfChoice
      T - DataContainer
      D - 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 - DataContainer
      P - AugmentationPath
      Parameters:
      key - the message type key
      Returns:
      found converter