Class HandlerRegistry<C,​P,​S>


  • public class HandlerRegistry<C,​P,​S>
    extends Object
    • Constructor Detail

      • HandlerRegistry

        public HandlerRegistry()
    • Method Detail

      • registerParser

        public org.opendaylight.yangtools.concepts.Registration registerParser​(int type,
                                                                               P parser)
      • getParser

        public P getParser​(int type)
      • registerSerializer

        public org.opendaylight.yangtools.concepts.Registration registerSerializer​(Class<? extends C> clazz,
                                                                                   S serializer)
      • getSerializer

        public S getSerializer​(Class<? extends C> clazz)
      • getAllSerializers

        public Iterable<S> getAllSerializers()