X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2Fstream%2FForwardingNormalizedNodeDataInput.java;fp=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2Fstream%2FForwardingNormalizedNodeDataInput.java;h=590a8b0205a8d2d392e79deb8beffbf7d14a6bb5;hb=69e914b3889a82fa2f7daa8d55e1aa0de23fb454;hp=0000000000000000000000000000000000000000;hpb=a69604185f71923bdfc16d2d056490fff9a8d90e;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/ForwardingNormalizedNodeDataInput.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/ForwardingNormalizedNodeDataInput.java new file mode 100644 index 0000000000..590a8b0205 --- /dev/null +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/ForwardingNormalizedNodeDataInput.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2019 PANTHEON.tech, 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.controller.cluster.datastore.node.utils.stream; + +import java.io.IOException; +import org.eclipse.jdt.annotation.NonNull; +import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; +import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument; +import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; +import org.opendaylight.yangtools.yang.model.api.SchemaPath; + +abstract class ForwardingNormalizedNodeDataInput extends ForwardingDataInput implements NormalizedNodeDataInput { + + @Override + abstract @NonNull NormalizedNodeDataInput delegate() throws IOException; + + @Override + public final NormalizedNode readNormalizedNode() throws IOException { + return delegate().readNormalizedNode(); + } + + @Override + public final YangInstanceIdentifier readYangInstanceIdentifier() throws IOException { + return delegate().readYangInstanceIdentifier(); + } + + @Override + public final PathArgument readPathArgument() throws IOException { + return delegate().readPathArgument(); + } + + @Override + public final SchemaPath readSchemaPath() throws IOException { + return delegate().readSchemaPath(); + } +}