Remove binding spec2
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / serializer / NormalizedNodeWithAddChildWriter.java
diff --git a/binding2/mdsal-binding2-dom-codec/src/main/java/org/opendaylight/mdsal/binding/javav2/dom/codec/impl/serializer/NormalizedNodeWithAddChildWriter.java b/binding2/mdsal-binding2-dom-codec/src/main/java/org/opendaylight/mdsal/binding/javav2/dom/codec/impl/serializer/NormalizedNodeWithAddChildWriter.java
deleted file mode 100644 (file)
index f7a3e5d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.dom.codec.impl.serializer;
-
-import com.google.common.annotations.Beta;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNormalizedNodeStreamWriter;
-import org.opendaylight.yangtools.yang.data.impl.schema.NormalizedNodeResult;
-
-/**
- * Event Stream Writer based on Normalized Node tree representation with
- * allowing to add children.
- *
- */
-@Beta
-final class NormalizedNodeWithAddChildWriter extends ImmutableNormalizedNodeStreamWriter {
-
-    /**
-     * Initialization writer based on {@link NormalizedNodeResult}.
-     *
-     * @param result
-     *            - result holder for writer
-     */
-    NormalizedNodeWithAddChildWriter(final NormalizedNodeResult result) {
-        super(result);
-    }
-
-    void addChild(final NormalizedNode<?, ?> child) {
-        this.writeChild(child);
-    }
-}
\ No newline at end of file