Interface Codec<BA extends org.opendaylight.yangtools.yang.binding.DataObject>

  • Type Parameters:
    BA - - type of Binding Aware data, RPC data or Notification data
    All Superinterfaces:
    Deserializer<BA>, Serializer<BA>
    All Known Implementing Classes:
    DataCodec

    public interface Codec<BA extends org.opendaylight.yangtools.yang.binding.DataObject>
    extends Serializer<BA>, Deserializer<BA>
    Codec to serailize/deserialize Binding Independent data, RPC data, Notification data to/from Binding Aware data, RPC data, Notification data.
    • Method Detail

      • getCodec

        org.opendaylight.mdsal.binding.dom.adapter.BindingToNormalizedNodeCodec getCodec()
        Get used codec.
        Returns:
        codec
      • getSchemaContext

        org.opendaylight.yangtools.yang.model.api.SchemaContext getSchemaContext()