Remove binding spec2
[mdsal.git] / binding2 / mdsal-binding2-spec / src / main / java / org / opendaylight / mdsal / binding / javav2 / spec / runtime / BindingCodec.java
diff --git a/binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/runtime/BindingCodec.java b/binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/runtime/BindingCodec.java
deleted file mode 100644 (file)
index 65d8205..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2017 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.mdsal.binding.javav2.spec.runtime;
-
-import com.google.common.annotations.Beta;
-import org.opendaylight.yangtools.concepts.Codec;
-
-/**
- * Base interface for Binding2 encoding/decoding mechanism implementation
- */
-@Beta
-public interface BindingCodec<P, I> extends BindingSerializer<P, I>, BindingDeserializer<I, P>, Codec<P, I> {
-
-    /**
-     * Produces an object based on input.
-     *
-     * @param input Input object
-     * @return Product derived from input
-     */
-    @Override
-    P serialize(I input);
-
-    /**
-     * Produces an object based on input.
-     *
-     * @param input Input object
-     * @return Product derived from input
-     */
-    @Override
-    I deserialize(P input);
-
-}
\ No newline at end of file